Developers Manual > Cocos2d-JS > Getting Started Cocos2d-JS

Getting Started with Cocos2d-JS

Introduction

Cocos2d-JS is the latest spin off from Cocos2d-X team. It is written in Javascript for HTML5 compliant browsers and Cocos2d-x JavaScript Bindings (JSB). The API is derived from Cocos2d-X, therefor if you have any experience in Cocos2d game engines, you already know how to use Cocos2d-html5. If you never used Cocos2d game engine before, don’t worry, this article will teach you everything you need to know to get started.

Cocos2d-JS includes Cocos2d-html5 and Cocos2d-x JSB. Because Cocos2d-html5 is based on web, you can write your app on any platform as long as you have access to a text editor, and because its web based, your app can be run on any device that have access to a web browser (HTML5 compliant one)! How convenient, and that is why, “The future is in your browser”.

Cocos2d-JS provides a consistent development experience for whichever platform you want to distribute to, both web and native. "Code once, run everywhere" is incredibly easy and natural in Cocos2d-JS. With one single javascript code base, you can run your game on both web browsers and native platform including Mac OS, Windows, iOS, Android. This will bring your game great opportunities in almost all canals of distribution.

Beginners Hands-on

Parkour Game Tutorials of Cocos2d-JS v3.x

New features and API changes in version 3.0

Advanced topics

Parkour Game Tutorials of Cocos2d-html5 v2.2.x

Conclusion

Well I hope you’ve found this brief introduction to Cocos2d-JS helpful. And hope you feel that Cocos2d-JS is an easy to setup, easy to learn, and easy to use framework. You can finish your games efficiently with Cocos2d-JS, and run it cross browsers.

If you’ve enjoyed this let me know via Twitter: http://www.twitter.com/cocos2dx, it’s always good to say hello!

Cocos2d-JS Structure-2.png (233.8 kB) linshun, 2014-05-08 08:23

Copyright © 2010 - 2014 Cocos2d-x.org Support Email: support@cocos.org