@vpmedia/phaser 1.0.8 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/phaser.cjs +1 -1
- package/dist/phaser.cjs.LICENSE.txt +1 -1
- package/dist/phaser.cjs.map +1 -1
- package/dist/phaser.js +1 -1
- package/dist/phaser.js.LICENSE.txt +1 -1
- package/dist/phaser.js.map +1 -1
- package/package.json +1 -1
- package/src/phaser/core/loader.js +3 -3
- package/src/phaser/core/sound.js +3 -1
- package/src/phaser/core/sound_manager.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vpmedia/phaser",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.10",
|
|
4
4
|
"description": "@vpmedia/phaser is the modern ECMAScript port of the popular Phaser game engine v2.6.2",
|
|
5
5
|
"author": "Andras Csizmadia <andras@vpmedia.hu> (www.vpmedia.hu)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -37,7 +37,7 @@ export default class {
|
|
|
37
37
|
this.useXDomainRequest = false;
|
|
38
38
|
this._warnedAboutXDomainRequest = false;
|
|
39
39
|
this.enableParallel = true;
|
|
40
|
-
this.maxParallelDownloads =
|
|
40
|
+
this.maxParallelDownloads = 5;
|
|
41
41
|
this._withSyncPointDepth = 0;
|
|
42
42
|
this._fileList = [];
|
|
43
43
|
this._flightQueue = [];
|
|
@@ -796,8 +796,8 @@ export default class {
|
|
|
796
796
|
}
|
|
797
797
|
|
|
798
798
|
fileError(file, xhr, reason) {
|
|
799
|
-
const url = file.requestUrl || this.transformUrl(file.url, file);
|
|
800
|
-
let message = '
|
|
799
|
+
// const url = file.requestUrl || this.transformUrl(file.url, file);
|
|
800
|
+
let message = 'Error loading asset';
|
|
801
801
|
if (!reason && xhr) {
|
|
802
802
|
reason = xhr.status;
|
|
803
803
|
}
|
package/src/phaser/core/sound.js
CHANGED
|
@@ -200,6 +200,7 @@ export default class {
|
|
|
200
200
|
this._sound.stop(0);
|
|
201
201
|
} catch (e) {
|
|
202
202
|
// pass
|
|
203
|
+
this.game.exceptionHandler(e);
|
|
203
204
|
}
|
|
204
205
|
}
|
|
205
206
|
if (this.externalNode) {
|
|
@@ -385,7 +386,8 @@ export default class {
|
|
|
385
386
|
try {
|
|
386
387
|
this._sound.stop(0);
|
|
387
388
|
} catch (e) {
|
|
388
|
-
//
|
|
389
|
+
// pass
|
|
390
|
+
this.game.exceptionHandler(e);
|
|
389
391
|
}
|
|
390
392
|
}
|
|
391
393
|
if (this.externalNode) {
|