From 9b5d23c9247a7b1ef9b747469e319f79bfe27df1 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Fri, 23 Mar 2018 12:15:18 +0100 Subject: [PATCH] Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 175 bytes modified --- 21g30t1e75.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/21g30t1e75.js b/21g30t1e75.js index 6d546c3..8c5dd31 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -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; }