HTML and CSS Reference
Review the Built-in Examples
When you have downloaded and installed the web server successfully, it is highly recommended that you go through
the built-in examples. They cover over 95 percent of the features of Cocos2d-html5, and they are also the most
valuable learning resource that you can obtain at present.
When you start your web server and enter localhost in your browser's address bar, you will see the screen shown
in Figure 24-7 .
Figure 24-7. Cocos2d-html5 index page
As you can see, there are many demos and sample games. If you are new to Cocos2d-html5, you may want to give
the MoonWarriors demo a try first.
Review the Tests
Figure 24-8 shows what happens when you open the link named Test cases . It will show you all of the built-in tests
that come with Cocos2d-html5.
Figure 24-8. Cocos2d-html5 tests