Skip to main content
  • Book
  • © 2016

Rapid Game Development Using Cocos2d-JS

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

Apress
  • Covers the essential topics for typical game development.

  • Topics are grouped in chapters in such a way that it is suitable for both beginners and intermediates.

  • Examples are framed to match real time scenarios.

  • Covers most complex features not available in other books.

Buy it now

Buying options

eBook USD 19.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 29.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (8 chapters)

  1. Front Matter

    Pages i-xv
  2. Getting Started

    • Hemanth Kumar, Abdul Rahman
    Pages 1-11
  3. Architecture Overview

    • Hemanth Kumar, Abdul Rahman
    Pages 13-15
  4. A Deeper Look at Sprites

    • Hemanth Kumar, Abdul Rahman
    Pages 17-40
  5. Handling Inputs and Events

    • Hemanth Kumar, Abdul Rahman
    Pages 41-48
  6. Adding a GUI

    • Hemanth Kumar, Abdul Rahman
    Pages 49-58
  7. Fun with Animation

    • Hemanth Kumar, Abdul Rahman
    Pages 59-68
  8. Adding Physics to Your Game

    • Hemanth Kumar, Abdul Rahman
    Pages 69-108
  9. Miscellaneous Features

    • 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.


What You'll Learn
  • 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 


Who This Book Is For

Beginners looking to develop cross-platform mobile/web games with cocos2d-js, developers with intermediate skills on cocos2d-js looking for the reference. 

Authors and Affiliations

  • Chennai, India

    Hemanth Kumar, Abdul Rahman

About the authors

Hemanth Kumar and Abdul Rahman are a team of two Full stack JavaScript experts, researchers and mobile game developers with a wide range of experience in web and game development. They have published several mobile games, and are well versed in  cocos2d-x, unity3D and building artificial intelligence for games. They are also experts in doing scaleable architecture for high traffic websites. Their main passion is video game development.

Bibliographic Information

Buy it now

Buying options

eBook USD 19.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 29.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access