- Chipmunk physics engine
-
Chipmunk physics engine Original author(s) Scott Lembcke Stable release 6.0.1 / July 25, 2011 Written in C Operating system OS independent Type Middleware License MIT License Website code.google.com/p/chipmunk-physics The Chipmunk SDK is a portable open-source 2D physics engine written in C99 by Scott Lembcke and published under the MIT license. Middleware physics engines like Chipmunk allow game developers to avoid writing their own code to handle the complex physics interactions possible in modern games. Chipmunk is a real-time rigid body physics engine that is designed to be lightweight, fast, and easy to use.[1] Objective-C bindings are popular for use on the iPhone,[2] and there are Ruby bindings, and third party interfaces for Python,[3] Haskell,[4] Objective Caml,[5] and others.[6] Chipmunk is supported by both the Aerosol [7] and cocos2d-iphone [8] game libraries.
Contents
Features
Chipmunk supports multiple collision primitives attached to one rigid body, and bodies may be joined by constraints. It has a flexible collision detection system with layers, exclusion groups and collision callbacks. Callbacks are defined based on user definable "collision types" and may reject collisions and even override the calculation of friction and elasticity coefficients.
Chipmunk has been widely used on the iPhone, Mac/Windows/Linux, and other platforms, including Nintendo Wii and Sony PSP.[9]
See also
References
- ^ [1] features listed in Chipmunk Physics.
- ^ [2] Article regarding Chipmunk release of Objective-C bindings
- ^ Pymunk at pyweek.org
- ^ Hipmunk: A Haskell binding for Chipmunk.
- ^ ocaml-chipmunk
- ^ [3] Bindings and Ports
- ^ Aerosol is a 2D game programming environment based around the Ruby programming language.
- ^ Cocos2d is an open source 2d game framework written in Python.
- ^ "Chipmunk Physics ported to the PSP"
External links
- Official website
- Chipmunk Forums
- chipmunk-ffi, a more up-to-date Ruby interface using Nice-FFI.
- Chipmunks Ruby Bindings, with more functionality wrapped.
- Demos of Chipmunk on YouTube
This video game software-related article is a stub. You can help Wikipedia by expanding it.