Skip to content

phaser-templates/simple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

phaser-simple-boilerplate

The simplest possible Phaser setup in a single HTML file

Before You Start...

This boilerplate is targeted at beginners who want to start exploring Phaser without the distraction of a complicated development environment.

For advanced features such as asset compilation, hot-reload, lint-on-save, unit testing, and CSS extraction, we recommend that more experienced developers use one of the other templates.

Usage

This is a project template for phaser-cli.

$ npm install -g phaser-cli      # Install phaser-cli if you haven't already
$ phaser init simple my-project  # Create a new project based on this template
$ cd my-project                  # Navigate into your new project folder

$ npm install -g http-server     # Install http-server if you haven't already
$ http-server                    # Run http-server and open it in your browser

Fork It And Make Your Own

You can fork this repo to create your own boilerplate, and use it with phaser-cli:

phaser init username/repo my-project

About

The simplest possible Phaser setup in a single HTML file

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages