From 1424ac76266c2c968361a8bb6d679f1b391e6847 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Mon, 15 Jan 2018 18:07:38 +0100 Subject: [PATCH] Initial Commit: CC - SpoonLib - Key Up (kc90uwmw6y.js) --- kc90uwmw6y.js | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 kc90uwmw6y.js diff --git a/kc90uwmw6y.js b/kc90uwmw6y.js new file mode 100644 index 0000000..67a9557 --- /dev/null +++ b/kc90uwmw6y.js @@ -0,0 +1,29 @@ +if (!this.entityLoaded) { + return; +} + +if (!this.initialized) { + + this.textCanvas = this.entityLoaded.textCanvas; + this.textTexture = this.entityLoaded.textTexture; + + this.initialized = true; +} + +var context = this.textCanvas.instance.getContext('2d'); + +context.textBaseline = "middle"; + +context.clearRect(0, 0, this.canvas.width, this.canvas.height); + +/** + * Write text + */ +context.fillStyle = '#3db5e6'; +context.font = '20pt BkBold'; +context.fillText('NEXT TILES', 23, 52); + +this.textTeture.instance.needsUpdate = true; + +return null; +//@ sourceURL=CustomCodeKeyUp.js \ No newline at end of file