https://github.com/featurist/cocos-pogo-template
A template for building cocos2d-js games in PogoScript
https://github.com/featurist/cocos-pogo-template
Last synced: about 2 months ago
JSON representation
A template for building cocos2d-js games in PogoScript
- Host: GitHub
- URL: https://github.com/featurist/cocos-pogo-template
- Owner: featurist
- Created: 2015-01-18T20:24:39.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-18T21:10:19.000Z (over 10 years ago)
- Last Synced: 2025-01-20T11:21:56.896Z (3 months ago)
- Language: PogoScript
- Homepage:
- Size: 449 KB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cocos Pogo Template
A template for building [cocos2d-js](https://github.com/cocos2d/cocos2d-js)
games in [pogo](https://github.com/featurist/pogoscript) with
[browserify](https://github.com/substack/node-browserify).## Setup
The files in this repository are not a complete project, but they are intended to overwrite the default files generated by the cocos command-line tool.
1. [Download](http://www.cocos2d-x.org/download) and install cocos2d-js
2. `cocos new projectName -l js`
3. `rm -rf projectName/src`
4. `cp -r projectName`## Running the game
Use `make` to run the web app, or `make ios` to run the iOS app.
## Development
Use `make watch` to compile pogoscript when it changes.