gpc

generator-phaser-coffeescript-gulp

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

Showing:

Popularity

Downloads/wk

2

GitHub Stars

23

Maintenance

Last Commit

4yrs ago

Contributors

1

Package

Dependencies

6

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

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

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial