phaser-es6-webpack
phaser-es6-webpack copied to clipboard
timer loop events in create function get error
code in Game.js create function()
this.game.time.events.loop(900,console.log('test'), this); this.game.time.events.stop(false); this.game.time.events.start();
error message: Uncaught TypeError: Cannot read property 'apply' of undefined