iPhone and Box2D
For the next version of Arctic Shuffle, we’re using an open source 2D physics engine called Box2D to improve the gameplay. There seems to be a lot of interest in Box2D for the iPhone, but I haven’t found a great overview anywhere, so I’ve put together a presentation for tonight’s Toronto iPhone Developer Meetup.
Here are the slides and the source code for the example game I’ll be using in the presentation. I’ve included two versions of the slides, a short version that I’ll be using tonight, and a longer version that covers collision detection and using the accelerometer. The source code includes everything described in the longer version.
May 14th, 2009 at 3:52 pm
[...] were some good questions during my presentation last night and via email this morning about units in [...]
May 15th, 2009 at 8:44 am
[...] iPhone + Box2D (blog.zincroe.com) – Luke Lutman from zinc Roe Design gave a presentation on using the open source Box2D physics engine with iPhone. He has posted his short presentation slides (that we saw) as well as a longer presentation and an example source code project. [...]
May 16th, 2009 at 11:36 am
Nice slides! I used Box2D for Jiggle Balls now in the App Store. There is no way I could have done it without the great work of Erin Catto (Box2D) and Simon Oliver (Rolondo). Opening this up to the community has been a great thing. There are many games using it in the App Store.
June 8th, 2009 at 4:21 am
Thank’s a million for this. Great timesaver!
June 9th, 2009 at 6:16 am
[...] We’re both pretty new when it comes to Cocoa and Objective-C, though. Luckily Objective-C doesn’t have much we haven’t run into before, and all-in-all the Apple Developer documents are pretty decent. There’s also some great people out there who share the tricky things they’ve figured out with the community. Like these guys. [...]
November 24th, 2009 at 7:46 pm
How would you add a debug layer on this setup?
March 29th, 2010 at 1:48 am
I try the game & checked the code ..
I have some question on that ..
when the ball touch the square a little time the Ball was stopped , but when another touch the square again , the ball which touch the square was release ..
when is that code ??
I would like to do something to stop & release the ball by code .. but don’t know how to do that ..