Skip to content

Latest commit

 

History

History
33 lines (18 loc) · 556 Bytes

File metadata and controls

33 lines (18 loc) · 556 Bytes

LD37 Game

  • Install dependencies npm install

  • To use generator Install

    npm install -g yo generator-phaser

  • Invoke the state generator (Note: this updates & overwrites main.js):

    yo phaser:state

  • Invoke the prefab generator:

    yo phaser:prefab

  • Run a local development server (livereload enabled) with this command:

    npm start

  • Package your game (i.e. minify css, html and js) with:

    npm run build

  • Editor:

    npm run start:editor http://localhost:9977/editor.html

  • Deploy to gh pages

    npm run deploy