Chipmunk Physics 5.3.3 Released!

Discussion in 'Public Game Developers Forum' started by slembcke, Dec 7, 2010.

  1. [​IMG]

    Things got delayed longer than I had hoped, but it's finally out.

    Get the source while it's hot! (Mac/Win/Linux/iPhone/etc)

    Chipmunk is a high performance, MIT licensed 2D physics library with all the fixings. Written in C99, bindings and ports exist to over a dozen languages. Including an official binding to Objective-C that makes it fit right in on the iPhone. Chipmunk has been used on many platforms including the PC (Mac/Win/Linux), iPhone, Android, Symbian, DS, PSP, and even the Wii. It has been used for many chart topping iPhone games including Zombie Smash, I Dig It, Crush the Castle, Finger Physics, Doodle Army and more!

    Google Code Project Page
    Cheesy promo video: Youtube
    Documentation: C API docs/Objective-C API Docs
    See some games made with Chipmunk. (at least a few of the ones I know of)
    Demo app binaries: (Mac, Win, iPhone)

    This update fixes a couple small bugs and adds a number of new features that have been requested. Other than further bug fixes, this will probably be the last minor release while work begins on major new features for Chipmunk 6.0.

    CHANGES SINCE 5.3.2:
    • API: Added cpArbiteGetCount() to return the number of contact points.
    • API: Added helper functions for calculating areas of Chipmunk shapes as well as calculating polygon centroids and centering polygons on their centroid.
    • API: Shape queries. Query a shape to test for collisions if it were to be inserted into a space.
    • API: cpBodyInitStatic() and cpBodyNewStatic() for creating additional static (rogue) bodies.
    • API: cpBodySleepWithGroup() to allow you to create groups of sleeping objects that are woken up together.
    • API: Added overloaded *, +, - and == operators for C++ users.
    • API: Added cpSpaceActivateShapesTouchingShape() to query for and activate any shapes touching a given shape. Useful if you ever need to move a static body.
    • FIX: Fixed an extremely rare memory bug in the collision cache.
    • FIX: Fixed a memory leak in Objective-Chipmunk that could cause ChipmunkSpace objects to be leaked.
    • MISC: C struct fields and function that are considered private have been explicitly marked as such. Defining CP_ALLOW_PRIVATE_ACCESS to 0 in Chipmunk.h will let you test which parts of the private API that you are using and give me feedback about how to build proper APIs in Chipmunk 6 for what you are trying to do.
    • MISC: Allow CGPoints to be used as cpVect on Mac OS X as well as iOS.
     

Share This Page