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 loader\load%20config%20tests has multiple issues #3138

Closed danscarf closed 6 years ago

danscarf commented 6 years ago

See http:///view.html?src=src\loader\load%20config%20tests.js

VM2283:1 Uncaught SyntaxError: Unexpected token < in JSON at position 0 at JSON.parse () at JSONFile.onProcess (JSONFile.js:35) at Loader. (BaseLoader.js:205) at Set.each (Set.js:86) at Loader.finishedLoading (BaseLoader.js:201) at Loader.nextFile (BaseLoader.js:189) at JSONFile.onLoad (File.js:90)

screenshot_20171229_151431

192.168.1.116-1514589642873.log

photonstorm commented 6 years ago

Related to this: passing an XHR object for a file causes a timeout refresh for the whole browser.

agilul commented 6 years ago

XHR object refresh bug doesn't happen anymore with 3.1.0 (#3233).

photonstorm commented 6 years ago

This example has now been fixed.