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 physics\impact\slope tests has issues #3142

Closed danscarf closed 6 years ago

danscarf commented 6 years ago

Please see: http:///ph/view.html?src=src\physics\impact\slope%20tests.js

slope tests.js:68 Uncaught TypeError: this.add.staticTilemap is not a function at Scene.create (slope tests.js:68) 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)

slope tests.js:99 Uncaught TypeError: Cannot read property 'standing' of undefined at Scene.update (slope tests.js:99) 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_160539 192.168.1.116-1514592357085.log

photonstorm commented 6 years ago

Fixed in the repo.