UNPKG

phaser-node-kit

Version:

Rapid Game Development with PhaserJS and Node for Modern Browsers

18 lines (12 loc) 230 B
class BootState { preload() { this.load.image('preload', 'img/preload.png') } create() { this.input.maxPointers = 1 this.state.start('Preload') } update() { } render() { } } module.exports = BootState