tyson Posted July 2, 2013 Share Posted July 2, 2013 Hi all, I've been working on a Tiny Wings style game using Chipmunk and Cocos2d-html5. Got a working prototype running OK on the Android browser, but I just feel the physics needs a little tweaking. Especially since it keeps getting faster and faster. Anyone have any input? Not sure if I should if I should increase the mass of the player, or increase gravity. Might take a little while to show the loading screen. http://www.tysonross.com/2013/07/02/wip-physics-game-star-chaser/ Thanks! --Tys Quote Link to comment Share on other sites More sharing options...
Ezelia Posted July 2, 2013 Share Posted July 2, 2013 didn't saw the source code but are you using timers ? the behaviour looks like timers overlapping issue => you start some timer when the other one is not stopped so the second timer acceleration is added to the first one ...etc Quote Link to comment Share on other sites More sharing options...
tyson Posted July 2, 2013 Author Share Posted July 2, 2013 Just using Chipmunk's 'applyForce' to the player when there is a touch event. There is also a minimum force applied so the player drifts along. I followed this tutorial. Although I translated to Cocos2d-html5 and Chipmunk rather than Box2d. http://www.raywenderlich.com/32954/how-to-create-a-game-like-tiny-wings-with-cocos2d-2-x-part-1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.