(Editing)How to make a simple game with Cocos2d-html5(Part 2)

Note from Ryeeeeee

Welcome back to this tutorial series.

In the first part of the series, you learned how to set up the development environment and you ran the “Hello World” program.

In this part, we’ll continue.

Create Cocos2d-html5 Project

There is a simple way to create a new Cocos2d-html5 project. Right click the “template” directory and select “copy” , then right click the project root directory “Cocos2d-html5-v2.2.2” and select “Paste”. Final, enter your project name in input box.

Directory Structure

  • res :
  • src :
  • build.xml :
  • cocos2d.js :
  • index.html :
  • main.js :