0.0.1-alpha.1 • Published 5 years ago
crazycannon v0.0.1-alpha.1
Cocos2d-JS Single File Engine User Guide
Version Used On This Project.
- Customized Version: In this version, the feature which is required are included in the file in order to reduce the game size. All the features you chose will be included in the downloaded engine js file.
Usage
The usage have been demonstrated in the downloaded package, you can see the cocos2d-js-v3.0-lite.js is embeded in the index.html, after the window loading you will be able to use Cocos2d-JS API in your custom js code.
You need to host these files on a web server or local web server to see the result.
How to open the project
The whole project can be kept in server and can be accessed by opening index.html file.
NOTE
AS the project is on development phase JS files are not minified.
NPM intgration
Npm based build process also in development, following command supported
npm build
: Generated files on build foldernpm start
: Starts local webserver start serving the game. Changes in js file triggers reload
0.0.1-alpha.1
5 years ago