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

beta.r3js.org
-=yb4f310 2018-03-23 11:55:40 +01:00
parent 51d2bdeb1d
commit 67971b7c2a
1 changed files with 5 additions and 0 deletions

View File

@ -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;
}