How to Make a Platformer Game with Cocos2D-X

Introduction: Foreword

Hey. :) Welcome to our book about how to make a platformer game with Cocos2D-X. This book will teach you how to make a complete game from scratch and publish it yourself.

This book will walk you through all the basics steps of how to write game code, make art assets and build your own cross-platform game.

Requirements

What will you need to know to make use of this tutorial?

  • Some familiarity with the C++ programming language.
  • Some familiarity with an IDE like Xcode, Visual Studio or Eclipse.

Updates

Please note that this is an iterative book. As the open-source Cocos2D-X game engine grows it gets better and better, causing us to enhance this book. A changelog will be maintained so you can always see what's new.

We hope you enjoy learning about making your own multi-platform sidescroller game!

Got questions? Leave a comment below. You can also subscribe to be notified when we release new chapters.

Next Chapter >

Comments


Comments
  1. Alfons

    Great! I hope that you will folllow format from Cocos2d book written by Apress. Hope to see how to create tile based game that works on all platforms.

    Thank you and keep up the good work!

  2. czy

    very nice

  3. Chuck--bass

    I think this must be a very good way to learn cocos2d-x!!!!

  4. Stephen Maddox

    Looking at the chapters, this is going to be a good book. Lots of new stuff I have been wondering about.

  5. KhanhNguyen0507

    Looking at the chapters, this is going to be a good book.
    Very Nice.

  6. Joe

    So has this project been abandoned??

    • Nat Weiss

      Nope. August has been a busy month for me with one week of vacation already and another coming up.

      Rest assured, I have two new chapters of the book almost finished. One will be released this week and one next week.

      So while progress might be a little slower in August, the normal pace of a chapter a week will be resumed in September.

      The goal is to make this Cocos2d-X book & source code high quality and lasting. A solid reference for years to come.

  7. Joe

    Awesome! Do you have any donations place?? I really enjoy the idea behind this book, and I would like to give you something in return for your effort! :D

    • Nat Weiss

      Joe, thanks! :) Here’s a Paypal button to donate to the Paralaxer project:





  8. Joe

    Done :D keep it up :D

  9. Stephen Maddox

    Any news on more chapters? I bought Paralaxer on 7/2 and am anxious to get through the book.

    • Nat Weiss

      Stephen, yeah, the new chapter on setting up your projects is almost done. It’s taking a long time because A) it’s one of the biggest chapters yet, and B) the new Paralaxer 1.0.3 with Cocos2d-X 2.0.2 and iOS6 support is quite a time-consuming update.

      So, look for the new chapter and the 1.0.3 download really soon. Possibly tomorrow (Sunday).

  10. Painache

    When the new chapter “Projects & Build Scripts” will be released? Waiting for the chapter for so looooooooooooooooong.

    • Nat Weiss

      Sorry for the wait! I was quite busy updating Paralaxer to version 1.0.3, incorporating Cocos2dx 2.0.2 and iOS 6. Then I had to update my other two kits to Cocos2d iPhone 2.0 and iOS 6 as well. These all were pretty major updates and took a lot of time to make sure they worked correctly on iOS 6, 5, 4.3, Xcode 4.3, 4.4, 4.5, Windows, Android, etc.!

      Anyway, this new chapter on build scripts is going to be a big one. I have it about 25% finished and ought to be able to wrap it up tomorrow (Saturday).

      Cheers and thanks for writing.

  11. painache

    Awesome! Thank you for the hard working of the new chapter on setting up a cocos2d-X meta-project.

  12. Saj

    You should include Windows Phone 8. :)

  13. Anonymous

    Could you please provide PDF/EPUB versions of this book? I can’t afford using 3G to read it :/

  14. NobbZ

    Your email subscriber is really nice, but why don’t you provide real RSS? I prefer my RSS-Reader over a flooded mailbox.

    • Nat Weiss

      Hi NobbZ, a link to the RSS feed has been added above, near the email subscribe. Thanks for writing.

  15. Zhenchen Gan

    Hey this is Zhenchen, the developer relations at Cocos. We appreciated what you did and shared it on our FB page and Google+. URL not allowed so go search if you are interested. Sweet day!:)