phaserjs / phaser

Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.
https://phaser.io
MIT License
37.19k stars 7.1k forks source link

Phaser3 - Example particle emitter camera test has issue #3140

Closed danscarf closed 6 years ago

danscarf commented 6 years ago

Please see http:///ph/view.html?src=src\game%20objects\particle%20emitter\camera%20test.js

camera test.js:43 Uncaught TypeError: this.add.emitter is not a function at Scene.create (camera test.js:43) at GlobalSceneManager.Create [as create] (Create.js:24) at GlobalSceneManager.LoadComplete [as loadComplete] (LoadComplete.js:13) at EventBinding.dispatch (EventBinding.js:162) at EventDispatcher._dispatchHandler (EventDispatcher.js:149) at EventDispatcher.dispatch (EventDispatcher.js:164) at Loader.processComplete (BaseLoader.js:275) at Loader.removeFromQueue (BaseLoader.js:259) at Loader.processUpdate (BaseLoader.js:248) at Image.data.onload (ImageFile.js:63)

camera test.js:122 Uncaught TypeError: Cannot read property 'x' of null at Scene.update (camera test.js:122) at Systems.step (Systems.js:144) at Game.step (Game.js:230) at TimeStep.step (TimeStep.js:457) at step (RequestAnimationFrame.js:26) screenshot_20171229_154039

192.168.1.116-1514590845618.log

photonstorm commented 6 years ago

This is now fixed in the repo.