Chipmunk 5.3.0 released!

Sage
Posts: 1,487
Joined: 2002.09
Post: #1
Chipmunk 5.3.0 is out! The biggest new feature is that I've added the ability for inactive objects to fall asleep, reducing the CPU and battery usage. There are a number of other smaller performance improvements and fixes as well.

Source Code
OSX Demo Binary
Windows Demo Binary
iPhone Demo App

CHANGES SINCE 5.2.0:
  • FIX: Fixed the source so it can compile as C, C++, Objective-C, and Objective-C++.
  • FIX: Fixed cp_contact_persistence. It was broken so that it would forget collision solutions after 1 frame instead of respecting the value set.
  • OPTIMIZATION: Several minor optimizations have been added. Though performance should only differ by a few percent.
  • OPTIMIZATION: Chipmunk now supports putting bodies to sleep when they become inactive.
  • API: Elastic iterations are now deprecated as they should no longer be necessary.
  • API: Added API elements to support body sleeping.
  • API: Added a statically allocated static body to each space for attaching static shapes to.
  • API: Static shapes attached to the space's static body can simply be added to the space using cpSpaceAddShape().
  • NEW: New MSVC projects.
  • NEW: Added boolean and time stamp types for clarity.

We've also included the Objective-C wrapper as well as some sample code from shipping iPhone Apps. The primary advantages of a native Objective-C API include integrating with the Cocoa memory management model and the Chipmunk Object protocol. The Chipmunk Object protocol unifies the basic Chipmunk types as well as making it easy to create custom composite collections of the basic types. Additionally, the wrapper adds many convenience methods for doing common setup tasks as well as helper methods that integrate it with the rest of the Cocoa Touch API. The wrapper tries to do things the Objective-C way, adding useful method variations where it makes sense to do so. Objective-Chipmunk is cheap to license and it will definitely save you time and money developing Chipmunk based iPhone apps.

Scott Lembcke - Howling Moon Software
Author of Chipmunk Physics - A fast and simple rigid body physics library in C.
Quote this message in a reply
Moderator
Posts: 477
Joined: 2008.04
Post: #2
Looks great!

Howling Moon Software - CrayonBall for Mac and iPhone, Contract Game Dev Work
Quote this message in a reply
Member
Posts: 446
Joined: 2002.09
Post: #3
Nice work as always (especially the auto-sleep).

The current game I'm working on doesn't use Chipmunk, and my next one likely won't either, but after that I'm all over this - and you'll be at version 10 Grin
Quote this message in a reply
Member
Posts: 227
Joined: 2008.08
Post: #4
It'd be interesting to see performance comparisons of this and ODE. I imagine that Chipmunk would be faster for the reason of having less dimensions to consider, but ODE might be more tuned with age.
Quote this message in a reply
Moderator
Posts: 477
Joined: 2008.04
Post: #5
We've created a pretty cool AND cheesy promotional video for chipmunk that shows off a bunch of games that various people have made using the engine:

http://www.youtube.com/watch?v=z_Sx9N39KHk

Howling Moon Software - CrayonBall for Mac and iPhone, Contract Game Dev Work
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Chipmunk 6.0.0 Released! Skorche 1 3,846 Oct 13, 2011 04:52 AM
Last Post: kevin619
  Chipmunk 6.0.2 released Skorche 0 3,052 Sep 20, 2011 09:38 PM
Last Post: Skorche