We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fe960b7 + fcc23ef commit 92815d8Copy full SHA for 92815d8
1 file changed
src/loader/Loader.js
@@ -94,6 +94,11 @@ Phaser.Loader = function (game) {
94
*/
95
this.onLoadComplete = new Phaser.Signal();
96
97
+ /**
98
+ * @property {Phaser.Signal} onPackComplete - This event is dispatched when an asset pack has either loaded or failed.
99
+ */
100
+ this.onPackComplete = new Phaser.Signal();
101
+
102
/**
103
* @property {array} _packList - Contains all the assets packs.
104
* @private
@@ -1101,7 +1106,7 @@ Phaser.Loader.prototype = {
1101
1106
1102
1107
console.warn("Phaser.Loader error loading pack file: " + this._packList[index].key + ' from URL ' + this._packList[index].url);
1103
1108
1104
- this.nextPack(index, true);
1109
+ this.nextPack(index, false);
1105
1110
1111
},
1112
0 commit comments