Closed danscarf closed 6 years ago
Seems public/src/games/pacman/wip1.js#L301 creates a World
with no arguments, but World seems to need a scene as it tries to access a sys
property.
Yes, this example needs recoding. It won't be migrated to the examples site until we fix it.
Please see http:///ph/boot.html?src=src\games\pacman\boot.json
World.js:20 Uncaught TypeError: Cannot read property 'sys' of undefined at new World (World.js:20) at PacmanGame.create (:301:22)
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)
VM2700:466 Uncaught TypeError: Cannot read property 'update' of undefined at PacmanGame.update (:466:24)
at Systems.step (Systems.js:144)
at Game.step (Game.js:230)
at TimeStep.step (TimeStep.js:457)
at step (RequestAnimationFrame.js:26)
192.168.1.116-1514590332503.log