lean / phaser-es6-webpack

A bootstrap project for create games with Phaser + ES6 + Webpack.
MIT License
1.28k stars 319 forks source link

timer loop events in create function get error #86

Open The-five-stooges opened 3 years ago

The-five-stooges commented 3 years ago

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