Update: CC - SpoonLib - Key Up (hdy358a43e.js) 420 bytes modified
parent
2561440afd
commit
b8206f172b
|
@ -3,23 +3,7 @@ if (!this.entityLoaded) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this.initialized) {
|
if (!this.initialized) {
|
||||||
|
|
||||||
this.textCanvas = this.entityLoaded.textCanvas;
|
|
||||||
this.textTexture = this.entityLoaded.textTexture;
|
|
||||||
|
|
||||||
this.initialized = true;
|
this.initialized = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
var context = this.textCanvas.instance.getContext('2d');
|
|
||||||
|
|
||||||
context.textBaseline = "middle";
|
|
||||||
|
|
||||||
context.clearRect(0, 0, this.textCanvas.width, this.textCanvas.height);
|
|
||||||
|
|
||||||
context.fillStyle = '#ffffff';
|
|
||||||
context.font = '30pt BKBold';
|
|
||||||
context.fillText('FLYING SPOON', 23, 52);
|
|
||||||
|
|
||||||
this.textTexture.instance.needsUpdate = true;
|
|
||||||
|
|
||||||
//@ sourceURL=CustomCodeSpoonLibKeyUp.js
|
//@ sourceURL=CustomCodeSpoonLibKeyUp.js
|
Loading…
Reference in New Issue