Cocos2d-html5 Showcase
This is a showcase of cocos2d-html5 alpha, including many features just as:
- Parallax background
- Tilemap
- Actions
- Ease
- Frame animation
- Schedule
- Labels
- Keyboard Dispatcher
- Scene Transition.
Art and audio is copyrighted by Enigmata Genus Revenge, you may not use any copyrigted material without permission.
This showcase is licensed under GPL. You're welcome to use this as a simple tutorial for your upcoming html5 game 
(Controls: Use WASD to move your ship)
If its too slow in this page, it may caused by iframe tag. Visit http://www.cocos2d-x.org/MoonWarriors/index.html and play it directly.
Download the source code from: https://github.com/ShengxiangChen/MoonWarriors
Comments
Looks awesome!
So cook!
-- this -- is -- so -- amazing --
The future looks promising
Amazing!
2-7 fps on my windows phone (nokia lumia 710).
seems like html5 still not an option
html5 might not be an option for mobiles right now, but we are working on javascript binding for both Cocos2d-x and cocos2d-iphone, which means you can take the game written for cocos2d-html5 and have it run on cocos2d-x on iphone and android with almost native performance
Hi, Im testing out cocos2d with and Im looking at your code, trying to change scene I've come across this sentence:
But I'm getting the error: "undefined" is not a function evaluating cc.Scene.create(), so I looked at my recently bundled version of cocos2d-html5-alpha-canvasmenu-min.js, and I found that no function cc.Scene.create is there. But checking your project file in github i can see that your's actually have it. I downloaded the file today so I would expect to have the latest version, but I'm puzzled because I don't know if your's is a newer version or mine is the current one and that method is deprecated...
We are changing APIs for Cocos2d-html5 currently, from now on the APIs will be compatible with Cocos2d-x JS binding and Cocos2d-iPhone JS binding.
With the new APIs, all object is constructed by "create" function. You may pull the latest code from github, and build engine files to single file by yourself with Ant tools.
How to make a single file:
1) go to Cocos2d-html5/cocos2d directory
2) run "Ant" command in your terminal
If you are Mac user, you can run it directly. If you are windows or linux user, install Ant first.