Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 60 bytes modified
parent
51d2bdeb1d
commit
67971b7c2a
|
@ -149,8 +149,13 @@ this.state = {
|
|||
};
|
||||
|
||||
GameLib.CustomCode.prototype.displayHUD = function() {
|
||||
|
||||
this.canvasHUD.line(50, 40, 462, 40, 2, '#000000');
|
||||
|
||||
this.canvasHUD.clear();
|
||||
this.canvasHUD.text('hello', 50, 35, '30px sans-serif', '#ffffff');
|
||||
|
||||
|
||||
this.textureHUD.instance.needsUpdate = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue