Dear all,
I am upgrading from cocos2d-x-2.2.2 to cocos2d-x-3.0rc2.
The console has been changed.
I am getting following error. I can’t see any templates for js in templates dir.
./cocos new -p com.wb.testapp -l js -d .
Runing command: new
Fatal: can’t find any template for language in /home/wb/cocos2d-x-3.0rc2/templates
Hey, why not using cocos2dJS final 3.0
Anyways, u can always see README.md inside the framework folder…
Srry this is not the answered specific to ur question but a general suggestion…
Also, I just notced in your command
weavebytes:
-l js -d .
Why r u using “-d” at the end when u r not specifying any directory…
Here is actual command from README.md present inside framwork’s folder
cocos new MyGame -l js -d C:/directory/to/project In windows
cocos new MyGame -l js -d /directory/to/project Something similar in MAC/linux(I guess)
Also, u may use COCOSIDE… which is very good.
From Cocos2d-x 3.0, javascript bindings have been removed from -x repo, JSB have been combined with Cocos2d-html5 which leads to Cocos2d-JS
Thank you very much.
I am able to build the javascript game.
Cheers