Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 175 bytes modified
parent
a2dca0529b
commit
9b5d23c924
|
@ -98,6 +98,11 @@ this.materialPowerupSpeed = GameLib.EntityManager.Instance.findComponentById('
|
|||
this.materialPowerupLife = GameLib.EntityManager.Instance.findComponentById('6tld70a6zu');
|
||||
this.materialPowerupSlow = GameLib.EntityManager.Instance.findComponentById('ulgntj8nta');
|
||||
|
||||
/**
|
||||
* Images
|
||||
*/
|
||||
this.imagePowerupSpeed = GameLib.EntityManager.Instance.findComponentById('3mly5q145f');
|
||||
|
||||
/**
|
||||
* Other Objects (Scene)
|
||||
*/
|
||||
|
@ -162,6 +167,8 @@ GameLib.CustomCode.prototype.displayHUD = function() {
|
|||
this.canvasHUD.text('xtra', 300, 490, '20px sans-serif', '#ffffff');
|
||||
this.canvasHUD.text('xtra', 450, 490, '20px sans-serif', '#ffffff');
|
||||
|
||||
this.canvasHUD.image(this.imagePowerupSpeed.instance, 50, 490);
|
||||
|
||||
this.textureHUD.instance.needsUpdate = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue