Rapid Game Development Using Cocos2d-JS

An end-to-end guide to 2D game development using JavaScript

  • Hemanth Kumar
  • Abdul Rahman

Table of contents

  1. Front Matter
    Pages i-xv
  2. Hemanth Kumar, Abdul Rahman
    Pages 1-11
  3. Hemanth Kumar, Abdul Rahman
    Pages 13-15
  4. Hemanth Kumar, Abdul Rahman
    Pages 17-40
  5. Hemanth Kumar, Abdul Rahman
    Pages 41-48
  6. Hemanth Kumar, Abdul Rahman
    Pages 49-58
  7. Hemanth Kumar, Abdul Rahman
    Pages 59-68
  8. Hemanth Kumar, Abdul Rahman
    Pages 69-108
  9. Hemanth Kumar, Abdul Rahman
    Pages 109-123
  10. Back Matter
    Pages 125-126

About this book


Get a gentle introduction to the Cocos2d-JS framework to begin working with sprite manipulations, animations, and other 2d game development topics. This book covers environment setup and getting started with a framework that works seamlessly across all browsers. Rapid Game Development Using Cocos2d-JS teaches you the overall architecture of Cocos2d-JS and explains the internal working of the framework.

You will dive deep into sprites, the most important entity in Cocos2d-JS, animation APIs, and primitive shapes. You’ll also learn about the Cocos2d-JS UI system to get a head start in 2d game development. Finally, you’ll discover the features of Chipmunk (the built-in physics engine) with full examples.

You will:
  • Get a simple head start in Cocos2d-JS
  • Gain an architectural overview of the different blocks of the framework
  • Master sprites, spritesheets, and frame animation
  • Work with the event system in Cocos2d-JS
  • Discover the animation APIs in Cocos2d-JS
  • Leverage the built-in physics engine 


cocos2djs cocos2d-js gamedev indiedev ios android cocos2d js

Authors and affiliations

  • Hemanth Kumar
    • 1
  • Abdul Rahman
    • 2
  1. 1.ChennaiIndia
  2. 2.ChennaiIndia

Bibliographic information

Industry Sectors