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

beta.r3js.org
-=yb4f310 2018-03-23 11:39:35 +01:00
parent 498a33ce3e
commit 83a7885531
1 changed files with 2 additions and 0 deletions

View File

@ -110,6 +110,7 @@ this.particlePickle = GameLib.EntityManager.Instance.findComponentById('8lx1d9tn
GameLib.CustomCode.EXPLODE_LIFETIME = this.particlePickle.lifeTime;
this.canvasHUD = GameLib.EntityManager.Instance.findComponentById('lrh7junmhm');
this.textureHUD = GameLib.EntityManager.Instance.findComponentById('zrjg7mqkxi');
/**
* Game objects
@ -149,6 +150,7 @@ this.state = {
GameLib.CustomCode.prototype.displayHUD = function() {
this.canvasHUD.text('hello', 20, 10, '20px sans-serif', '#ffffff');
this.textureHUD.instance.needsUpdate = true;
}
GameLib.CustomCode.prototype.waitReload = function(delta) {