We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e224faa commit 267cb95Copy full SHA for 267cb95
2 files changed
v3/src/boot/Game.js
@@ -72,6 +72,8 @@ var Game = new Class({
72
73
AddToDOM(this.canvas, this.config.parent);
74
75
+ this.textures.boot();
76
+
77
this.anims.boot(this.textures);
78
79
this.scene.boot();
v3/src/textures/TextureManager.js
@@ -27,9 +27,12 @@ var TextureManager = new Class({
27
28
this._tempCanvas = CanvasPool.create2D(this, 1, 1);
29
this._tempContext = this._tempCanvas.getContext('2d');
30
+ },
31
- this.addBase64('__DEFAULT', game.config.defaultImage);
32
- this.addBase64('__MISSING', game.config.missingImage);
+ boot: function ()
33
+ {
34
+ this.addBase64('__DEFAULT', this.game.config.defaultImage);
35
+ this.addBase64('__MISSING', this.game.config.missingImage);
36
},
37
38
addBase64: function (key, data)
0 commit comments