Cocos2D for the Web

Version 0.2 beta 3 released

I’ve released the 3rd beta of version 0.2. This has some major syntax changes so I’ve put together a guide on upgrading from v0.1.

To install this build from NPM use:

npm install -g cocos2d@0.2.0-beta3

If you don’t have NPM then you should grab it from the downloads section. There’s an installer for Windows and Mac OS X, as well as a tar.gz for Linux users.

I hope to soon have some better guides and tutorials for creating new applications using Cocos2D JavaScript v0.2 soon. So stay tuned.

Posted

Comments

kilon

ago, kilon said

Hi there, I wanted to ask how usable is this project for games, I want to make a javascript game and I really like the work you did for python version.

I really want to use this library it seems so impressive and I dont mind to wait either cause my game will take probably year to be made. But I wanted to see how commited you are to see this mature as a library, or is it just a side project for you / experiment ?

araker

ago, araker said

It would be nice if the changes.md document listed the features and bugfixes per beta, so it’s easy to see which changed in which version. Or is there another way to easily see the changes from beta-2 to beta-3?

Dash

ago, Dash said

hi. I’m a new guy of games development. i ‘ve got some troubles with my html5 games that using the cocos2d-javascript engine. ( forgive my bad English :) )
The situation is that:
I have a file A.js :( ………………var game = require(’/Game’).Game; …………),. In file A.js, i can call functions which are in module "Game " successfully.
However, in another file B.js : ( ………………var game = require(‘/Game’).Game; …………), when i call the same functions in module “Game”, i got a " undefined is not a function " error.

The sequence is : firstly run the functions in A.js and then run the functions in B.js .

what’s the problem with my code? i ’m confused.

Sorry, but commenting has been disabled on this article due to a high amount of spam bots hitting it.