In my game, I am using Cocos2D for the Game part. I am now trying to implement gravity but I am hearing that I have to use Box2D or Chipmunk. I could use those but is there any way to do this in Cocos2D, can anyone share any ideas/code just so I can add some simple gravity using Cocos2D if possible?
Actually, my game doesn’t have anything else besides gravity that has to do with Physics. I only have one object that is going to be affected by gravity. That being said, should I do with Cocos2D and if so, where would I begin?
Ok so pretty much I am making a game similar to Doodle Jump, only gravity is involved. There is no advanced physics with objects colliding or anything like that. So in my game I just need gravity and no other advanced Physics engine. So I am debating whether or not whether to actually use Box2D or Chipmunk but it seems that I shouldn’t since I don’t need any advanced Physics. So this leaves me with doing gravity via Cocos2D, but I am not sure where I should go to do this. I just need simple gravity when jumping/falling and no gravity when on a platform. But like I said, where should I begin to implement gravity using only Cocos2D?