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

beta.r3js.org
-=yb4f310 2018-03-23 12:21:05 +01:00
parent fb894803d4
commit b563d51cfa
1 changed files with 5 additions and 1 deletions

View File

@ -101,7 +101,9 @@ this.materialPowerupSlow = GameLib.EntityManager.Instance.findComponentById('
/**
* 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)
@ -170,6 +172,8 @@ GameLib.CustomCode.prototype.displayHUD = function() {
this.canvasHUD.text('xtra', 450, 490, '20px sans-serif', '#ffffff');
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;
}