[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4762: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4764: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4765: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4766: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
Chipmunk Physics • View topic - Chipmunk for the official iPhone SDK

Chipmunk for the official iPhone SDK

Official forum for the .

Chipmunk for the official iPhone SDK

Postby DaveyJJ » Mon Mar 10, 2008 4:53 pm

I noticed that one member her had managed to get Chimunk going on the hacked iPhone back in December. Is there any word yet on getting an official build that can be integrated/work with Apple's official iPhone SDK? Or is this something in progress by anyone?

I am trying to help participate in the discussion to decide between Chipmunk and Box2D with the developers I have working with me.

Thanks,

DaveyJJ
<- Fun, simple, joyful games for the iPhone and iPod Touch
<- Seriously simple fun
<- Developer of fun Unity-made games and home of
User avatar
DaveyJJ
 
Posts: 2
Joined: Mon Mar 10, 2008 4:46 pm

Re: Chipmunk for the official iPhone SDK

Postby slembcke » Mon Mar 10, 2008 5:35 pm

Chipmunk should just build out of the Box. It uses no special APIs other than the C std library. The only gotcha is that you have to compile it as C99 code, but this shouldn't be an issue unless you are trying to use something other than GCC to compile it. The only thing that the "unofficial" port did as I understand it was to change the Demo code so that it it would work with OpenGL ES/Cocoa instead of normal GL/GLUT.

As far as a Chipmunk/Box2D comparison: Box2D is much more feature complete, hands down. (Especially with the new version that was just released) I originally started with the Box2D code and added a bunch of features (collision groups and layers, more collision types, collision callbacks, better broadphase collision) most of that has been implemented in some way or another in Box2D now as well and then some. One potential is that it has a C++ API that isn't going to play all that nice with Obj-C. (though if you are going to code the majority of your game in C++ anyway...) I would guess that Chipmunk is faster, but I don't really know. I've gotten a lot of compliments about Chipmunk's API being easier to work with than Box2D's, but YMMV.

On a side note: I actually saw the Chipmunk demos running on a coworker's iPhone. I was pretty surprised at how fast the little things are. I'm pretty pumped to try my hand at some iPod Touch physics programming in the near future. :)
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
User avatar
slembcke
Site Admin
 
Posts: 4164
Joined: Tue Aug 14, 2007 7:13 pm

Re: Chipmunk for the official iPhone SDK

Postby crazy-chris » Thu Mar 13, 2008 3:54 pm

hey,

i also want to congratulate and thank you for your work on chimunk in general, and for releasing it as open source in particular!! I also saw the iphone video... amazing. People should release their code more often! As for open source: release early and often :)

I wanted to tell you that i'm trying to port chipmunk demos to the olpc , and that it is actually running quite well!! (with less than 30 elements). I'm writing an API for extremely easy usage and will probably even provide a few examples for , a python learning activity shipped with the xo laptop.

Also I would like to make speed test with both, chipmunk and box2d. I didn't get box2d running on linux yet, as there are no makefiles included, except for xcode and msv* :)

Best from Vienna,
Chris
crazy-chris
 
Posts: 7
Joined: Tue Mar 04, 2008 3:40 am

Re: Chipmunk for the official iPhone SDK

Postby riq » Wed Jun 25, 2008 1:11 pm

Hi,
I've just released a 2d game library called "cocos2d-iphone" that includes Chipmunk, and also has the Chipmunk's Demo ported to iphone using the official iphone SDK.

URL:
http://code.google.com/p/cocos2d-iphone/

regards,
riq.
User avatar
riq
 
Posts: 37
Joined: Mon Jun 23, 2008 1:16 pm
Location: California, USA

Re: Chipmunk for the official iPhone SDK

Postby iUm » Tue Nov 25, 2008 6:32 am

But Chipmunk's demos work too slow...
what can u recommend in such case?
iUm
 
Posts: 1
Joined: Tue Nov 25, 2008 6:30 am

Re: Chipmunk for the official iPhone SDK

Postby riq » Sun Dec 07, 2008 7:31 pm

User avatar
riq
 
Posts: 37
Joined: Mon Jun 23, 2008 1:16 pm
Location: California, USA

Re: Chipmunk for the official iPhone SDK

Postby riq » Sun Dec 07, 2008 8:37 pm

User avatar
riq
 
Posts: 37
Joined: Mon Jun 23, 2008 1:16 pm
Location: California, USA

Re: Chipmunk for the official iPhone SDK

Postby scorp » Mon Dec 08, 2008 3:35 am

I have noticed that iPhone can't handle many collisions. Too slow.
No big piles of stuff i guess... But thing like ragdolls work just fine.

Lots of non colliding bodies seem to work fine too.
scorp
 
Posts: 29
Joined: Sat May 10, 2008 1:41 pm

Re: Chipmunk for the official iPhone SDK

Postby shafijami » Mon Dec 15, 2008 4:52 am

shafijami
 
Posts: 4
Joined: Fri Dec 12, 2008 6:53 am


Return to Chipmunk2D Physics

Who is online

Users browsing this forum: No registered users and 2 guests

cron