cocos2d-x-js-rpg-test
In this tiny project I am trying out cocos features so I can determine if I can develop an isometric rpg later.
How to run the game
- Run
index.html
on local web server
How to run the game in developer mode
- Download the code from cocos2d download site
- Run
setup.py
- Make a new boilerplate Javascript project with the following command
cocos new MyGame -p com.your_company.mygame -l js -d C:\Users\john.doe\
- Copy the "frameworks" folder from your new JS project to the root directory of this project
- Rename
index_dev.html
toindex.html
- Run
index.html
on local web server - Compile for Android
cocos compile -p android --ndk-mode debug --app-abi armeabi-v7a --ap android-19
close project in IDE and Browser to compile