This tutorial aims to be a bare-bones introduction to using Objective-Chipmunk in an iPhone game. It is very heavily commented and should be easy to follow. Despite containing only 100 or so actual lines of code, it squeezes in an overview of a number of topics:
Creating a Chipmunk space to simulate objects in it
Creating a bouncing box with friction
Controlling gravity using the device's tilt
Using collision callbacks to make impact sounds based on how hard objects collide
Using collision callbacks to track if an object is sitting on the ground or in the air
Using the ChipmunkObject protocol to easily add complex objects to a space
Using a CADisplayLink for smooth animation
Integrating Chipmunk into a Cocoa Touch UI
I've included it along with the new Objective-Chipmunk API docs in the new Chipmunk 5.3.1 release.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
To further clarify the pricing structure, is Objective-Chipmunk the Chipmunk included with Cocos2d? I'm fairly close to release and need to work out all the legal bits. I'm currently using Cocos2D Chipmunk Template, and SpaceManager.
Thank you, this was a great head start ! Looking fwd to the cocos2d tutorial, any ETA ?
Also would like to hear more about how you use cocoa touch and IB for rapid prototyping.
I was interested if any one has posted how to set objective chipmunk up in xcode. Im not sure how to integrate it into my application. What to import ect? If someone could help get me started that would be great. There is no explanation on how to do this with the downloaded project files. I have read the readme files 3 times. Thank you.