项目作者: phaser-templates

项目描述 :
The simplest possible Phaser setup in a single HTML file
高级语言: HTML
项目地址: git://github.com/phaser-templates/simple.git
创建时间: 2017-04-01T06:26:51Z
项目社区:https://github.com/phaser-templates/simple

开源协议:

下载


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.

  1. $ npm install -g phaser-cli # Install phaser-cli if you haven't already
  2. $ phaser init simple my-project # Create a new project based on this template
  3. $ cd my-project # Navigate into your new project folder
  4. $ npm install -g http-server # Install http-server if you haven't already
  5. $ 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:

  1. phaser init username/repo my-project