mirror of
https://github.com/wassname/phaser.git
synced 2026-08-09 12:20:34 +08:00
Loader can now parse both JSON Hash and JSON Array formated texture atlas files.
This commit is contained in:
+1
-3
@@ -278,7 +278,7 @@ Phaser.Game.prototype = {
|
||||
this.load.onLoadComplete.add(this.loadComplete, this);
|
||||
|
||||
this.state.boot();
|
||||
this.stage.boot();
|
||||
// this.stage.boot();
|
||||
// this.input.boot();
|
||||
|
||||
if (this.renderType == Phaser.CANVAS)
|
||||
@@ -331,8 +331,6 @@ Phaser.Game.prototype = {
|
||||
*/
|
||||
loadComplete: function () {
|
||||
|
||||
console.log('loadComplete', this);
|
||||
|
||||
this._loadComplete = true;
|
||||
|
||||
this.state.loadComplete();
|
||||
|
||||
Reference in New Issue
Block a user