Which framework / toolkit is suitable for a pool-like iPhone / iPad game?
I am developing 开发者_开发问答an iPhone / iPad game that is like pool. I started with cocos2d 0.99.5 but can't find everything I need. I would like to have:
- collision of multiple balls and reflection in other directions with certain angles
- moving striker beyond touch point and deceleration in effect of collisions and rebounces
- amount of force applied through striker which should depend on finger swipe distance
CCMoveTo & CGRectIntersectRect aren't enough. I found that I further need either chipmunk or box2d, considering loads of physics and mathematics involved.
What framework or toolkit do you recommend for doing this, and how should I proceed?
I'm not sure what problems you've experienced, but Cocos2D for iPhone really does sounds like the ideal solution as it's based on a established framework (Cocoa2D), is Objective-C "native", OpenGL ES accelerated and offers out of the box support for both the Chipmunk and Box2D physics engines you mention.
Additionally there are quite a few tutorials out there to get you started on the basics, some of which use Box2D if you're having problems getting the various physics objects set up/mapping them to their on-screen counterparts.
what about using cocos2d + Box2d physics engine¿¿?? it's already included in the cocos2d distribution
精彩评论