Skip to content

A template project for Phaser web games, including Gulp, Browserify, BrowserSync and Babel. Look for `generator-phaser-plus` for a quicker way of bootstraping your next game project.

License

Notifications You must be signed in to change notification settings

therealdavids/phaser-plus-template

 
 

Repository files navigation

Phaser Plus Template

A complete project template for developing Phaser web games including Browserify, BrowserSync and more.

Dependency Status devDependency Status

Batteries Included

  • Gulp task manager, to handle development and distribution tasks, with alternative npm scripts provided.

  • BrowserSync for cross-device testing.

  • Browserify for easier management of components and dependencies.

  • Babel to compile ECMAScript 2015 scripts (or future specs) into scripts compatible with today's browsers. Check which language features are currently supported.

  • ESLint for code quality check.

  • EditorConfig support, for consistent editor configuration between collaborators — check if [EditorConfig support][ecpl] is available for your code editor.

Development Instructions

Download and extract the packaged project contents, or clone this repository locally. Either way, the following npm scripts are available to you, performing the tasks described below.

npm install   # Installs the required project dependencies.
npm start     # or `gulp dev`: Launches the game in development mode.
npm run dist  # or `gulp dist`: Prepares the game for distribution.
npm run clean # or `gulp dist:clean`: Deletes build files.

(Optionally, you could install Gulp globally, but you are not required to do so.)

Like phaser-plus-template? You may also like its companion generator-phaser-plus, a new Yeoman generator I'm working on. Check it out!

License

All source code distributed under the terms of the MIT License.

This project draws upon earlier efforts of these two brilliant developers:

About

A template project for Phaser web games, including Gulp, Browserify, BrowserSync and Babel. Look for `generator-phaser-plus` for a quicker way of bootstraping your next game project.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • JavaScript 77.5%
  • HTML 22.5%