Skip to content

FullR/cocos-es6-browserify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cocos-es6-browserify

A simple Cocos2d-HTML5 hello-world app written in ES6 (compiled using Babel) with dependency management using Browserify.

Running the code

First, download and setup cocos2d

Then clone and setup the repo:

git clone https://github.com/FullR/cocos-es6-browserify.git
npm install # installs dependencies and creates cocos project

Then start developing

gulp # Start cocos, build, watch, rebuild

Other gulp tasks:

build - Compile/copy ES6 source files, resources, and cocos configuration files into the cocos project directory
start - Start the cocos project as-is without rebuilding
resources - Copy files from your res directory into the cocos project

About

Simple cocos-html5 app written in ES6 and compiled with Browserify

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published