Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 324 bytes modified
parent
fb894803d4
commit
b563d51cfa
|
@ -101,7 +101,9 @@ this.materialPowerupSlow = GameLib.EntityManager.Instance.findComponentById('
|
||||||
/**
|
/**
|
||||||
* Images
|
* Images
|
||||||
*/
|
*/
|
||||||
this.imagePowerupSpeed = GameLib.EntityManager.Instance.findComponentById('3mly5q145f');
|
this.imagePowerupSpeed = GameLib.EntityManager.Instance.findComponentById('3mly5q145f');
|
||||||
|
this.imagePowerupLife = GameLib.EntityManager.Instance.findComponentById('6ezbfrssvx');
|
||||||
|
this.imagePowerupSlow = GameLib.EntityManager.Instance.findComponentById('nhd62hn7sa');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Other Objects (Scene)
|
* Other Objects (Scene)
|
||||||
|
@ -170,6 +172,8 @@ GameLib.CustomCode.prototype.displayHUD = function() {
|
||||||
this.canvasHUD.text('xtra', 450, 490, '20px sans-serif', '#ffffff');
|
this.canvasHUD.text('xtra', 450, 490, '20px sans-serif', '#ffffff');
|
||||||
|
|
||||||
this.canvasHUD.image(this.imagePowerupSpeed.instance, 50, 460, 48, 48);
|
this.canvasHUD.image(this.imagePowerupSpeed.instance, 50, 460, 48, 48);
|
||||||
|
this.canvasHUD.image(this.imagePowerupLife.instance, 300, 460, 48, 48);
|
||||||
|
this.canvasHUD.image(this.imagePowerupSlow.instance, 400, 460, 48, 48);
|
||||||
|
|
||||||
this.textureHUD.instance.needsUpdate = true;
|
this.textureHUD.instance.needsUpdate = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue