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.
We made a little example game called Paralaxer. It's a side-scrolling platformer game that runs on iPhone, Android, Windows & Mac.
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.
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.
Source code examples are provided during each chapter. If you'd like, you can get the complete game source code package. It includes all the art assets, project files, build scripts and a PDF version of this online book.
Keep in mind that the source code provided in this free book is written for the Cocos2d-X 2.x series. Cocos2d-X 3.0 is now in alpha/beta stages and introduces some nice edits to the API. If you are using 3.0, you'll use cocos2d::Node instead of cocos2d::CCNode, for example.
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 2d multi-platform sidescroller game!