I want to create a game where the player only can run and jump on platforms. I think Cocos2D would be great for that but i haven’t found any tutorials for cocos2d and side-scrolling. Where I have to start?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You should start by learning how to use Cocos2D, its basics, how it works,etc. Then you can use one of the 2 included physics systems: Chipmunk or Box2D (or roll out your own solution).
Setting a simple scene with Chipmunk should give you a good start. There will be some issues you will find like handling slopes, one-way platforms,etc. You can check the chipmunk forums, there are a couple of questions regarding that in there: http://www.slembcke.net/forums/
Also, consider buying this from the Cocos2d developer: http://www.sapusmedia.com/levelsvg/ it contains lots of solutions to problems you might find.