Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 128 bytes modified
parent
498a33ce3e
commit
83a7885531
|
@ -110,6 +110,7 @@ this.particlePickle = GameLib.EntityManager.Instance.findComponentById('8lx1d9tn
|
||||||
GameLib.CustomCode.EXPLODE_LIFETIME = this.particlePickle.lifeTime;
|
GameLib.CustomCode.EXPLODE_LIFETIME = this.particlePickle.lifeTime;
|
||||||
|
|
||||||
this.canvasHUD = GameLib.EntityManager.Instance.findComponentById('lrh7junmhm');
|
this.canvasHUD = GameLib.EntityManager.Instance.findComponentById('lrh7junmhm');
|
||||||
|
this.textureHUD = GameLib.EntityManager.Instance.findComponentById('zrjg7mqkxi');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Game objects
|
* Game objects
|
||||||
|
@ -149,6 +150,7 @@ this.state = {
|
||||||
|
|
||||||
GameLib.CustomCode.prototype.displayHUD = function() {
|
GameLib.CustomCode.prototype.displayHUD = function() {
|
||||||
this.canvasHUD.text('hello', 20, 10, '20px sans-serif', '#ffffff');
|
this.canvasHUD.text('hello', 20, 10, '20px sans-serif', '#ffffff');
|
||||||
|
this.textureHUD.instance.needsUpdate = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
GameLib.CustomCode.prototype.waitReload = function(delta) {
|
GameLib.CustomCode.prototype.waitReload = function(delta) {
|
||||||
|
|
Loading…
Reference in New Issue