Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 175 bytes modified

beta.r3js.org
-=yb4f310 2018-03-23 12:15:18 +01:00
parent a2dca0529b
commit 9b5d23c924
1 changed files with 7 additions and 0 deletions

View File

@ -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;
}