词条 | Chipmunk (software) |
释义 |
| name = Chipmunk physics engine | logo = | screenshot = | caption = | author = Scott Lembcke | developer = Howling Moon Software | latest_release_version = 7.0.2 | latest_release_date = {{start date and age|2017|08|28}} | latest_preview_version = | latest_preview_date = | operating_system = Cross-platform | programming_language = C, Objective-C | genre = Physics engine middleware | license = MIT License, formerly open core | website = {{URL|http://chipmunk-physics.net/}} }}Chipmunk2D is a 2-dimensional real-time rigid body physics engine written by Scott Lembcke that is designed to be portable, lightweight, fast, and easy to use.[1] Prior to version 7, two main versions of the library existed. Chipmunk2D Free was written purely in C99, and freely available under the terms of the MIT License. Chipmunk2D Pro was a proprietary upgrade designed for development on mobile devices. It included several high-level subroutines in Objective-C, and floating-point optimizations for the ARM processor.[2] However, after version 7 the project was fully open-sourced.[3] Aside from Objective-C, there are official bindings for Ruby, and third party interfaces exist for Python,[4] Haskell,[5] OCaml,[6] and others.[7] Chipmunk is endorsed by a number of game libraries, including Aerosol, Gosu,[8] and Cocos2d.[9] FeaturesChipmunk 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. Version 7 of the library introduced "Autogeometry", an image tracing feature that transforms a raster graphic into a polygonal shape usable by the library. This feature is currently only available in the Objective-C version of the library. Chipmunk has been widely used on the iPhone, Mac/Windows/Linux, and other platforms, including Nintendo Wii and Sony PSP.[10] See also
References1. ^Chipmunk2d update reduced CPU hits for sleeping items 2. ^{{cite web |url=https://chipmunk-physics.net/chipmunkPro.php |title=Chipmunk2D Physics Pro |publisher=Howling Moon Software |accessdate=2014-05-26 }} 3. ^{{cite web |url=http://howlingmoonsoftware.com/wordpress/chipmunk-7-released-pro-tools-open-sourced/ |title=Chipmunk 7 released- Pro tools open sourced |last=Korth |first=Andy |publisher=Howling Moon Software |accessdate=2015-07-21 }} 4. ^Pymunk 5. ^Hipmunk: A Haskell binding for Chipmunk 6. ^ocaml-chipmunk 7. ^Bindings and Ports 8. ^{{cite web |url=https://github.com/jlnr/gosu/wiki/Ruby-Chipmunk-Integration |title=Gosu Chipmunk Integration |last=Johnson |first=Dirk |accessdate=2014-05-26 }} 9. ^Cocos2d 10. ^[https://www.youtube.com/watch?v=qplaML30ZQU "Chipmunk Physics ported to the PSP"] External links
3 : Computer physics engines|Free computer libraries|Software using the MIT license |
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。