Skip to content

A yeoman generator for developing games with Phaser framework using coffeescript and gulp. Browserifies, coffeeifies and live reloads using browser-sync.

License

Notifications You must be signed in to change notification settings

ozankasikci/generator-phaser-coffeescript-gulp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

generator-phaser-coffeescript-gulp

Yeoman generator

Getting Started

What is Yeoman?

Trick question. It's not a thing. It's this guy:

Basically, he wears a top hat, lives in your computer, and waits for you to tell him what kind of application you wish to create.

Not every new computer comes with a Yeoman pre-installed. He lives in the npm package repository. You only have to ask for him once, then he packs up and moves into your hard drive. Make sure you clean up, he likes new and shiny things.

Installation

Install Yeoman and Gulp
npm i -g yo gulp
Install phaser-coffeescript-gulp generator
npm i -g generator-phaser-coffeescript-gulp
Initiate generator in a directory
mkdir my-game
cd $_
yo phaser-coffeescript-gulp

Built-in web server with live-reload support

Once the generator is initiated you are ready to run gulp command. Gulp will start a web server with live-reload support using Browser-Sync, compile and merge coffee files.

Gulp Demo

And you are ready to start developing awesome games right away!

Prefab Generator

To generate a prefab run yo phaser-coffeescript-gulp:prefab prefabname. You will see the prefab choices:

Prefab Demo

Then you can require your newly generated prefab in a state file.

State Generator

To generate a state run yo phaser-coffeescript-gulp:state statename.

State Demo

License

MIT

About

A yeoman generator for developing games with Phaser framework using coffeescript and gulp. Browserifies, coffeeifies and live reloads using browser-sync.

Resources

License

Stars

Watchers

Forks

Packages

No packages published