From b3b6fbb33d2b974e7e5e538c4ceebdfb24ca7cd1 Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 15 Oct 2018 20:00:58 +0800 Subject: =?UTF-8?q?*=E4=BF=AE=E6=94=B9=E9=BB=98=E8=AE=A4=E5=AD=97=E4=BD=93?= =?UTF-8?q?=E9=AB=98=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/Jin.exe | Bin 549376 -> 548864 bytes bin/jin.exe | Bin 549376 -> 548864 bytes bin/main.lua | 10 ++++------ 3 files changed, 4 insertions(+), 6 deletions(-) (limited to 'bin') diff --git a/bin/Jin.exe b/bin/Jin.exe index f29d456..e421600 100644 Binary files a/bin/Jin.exe and b/bin/Jin.exe differ diff --git a/bin/jin.exe b/bin/jin.exe index f29d456..e421600 100644 Binary files a/bin/jin.exe and b/bin/jin.exe differ diff --git a/bin/main.lua b/bin/main.lua index 6f221ac..69c6608 100644 --- a/bin/main.lua +++ b/bin/main.lua @@ -6,10 +6,10 @@ local page local tf function jin.core.onLoad() shader = jin.graphics.newShaderf("font.shader") - local bitmap = jin.graphics.newBitmap("defaultfont.png") - local tfdata = jin.graphics.newTTFData("font.ttf") - tf = tfdata:newTTF(13) - page = tf:typeset("this is a test") + -- local bitmap = jin.graphics.newBitmap("defaultfont.png") + -- local tfdata = jin.graphics.newTTFData("font.ttf") + -- tf = tfdata:newTTF(13) + -- page = tf:typeset("this is a test") end function jin.core.onEvent(e) @@ -32,7 +32,5 @@ function jin.core.onUpdate(dt) end function jin.core.onDraw() - jin.graphics.useShader(shader) jin.graphics.print(string.format("FPS: %d\nok this is another test", fps), 0, 0) - jin.graphics.unuseShader() end \ No newline at end of file -- cgit v1.1-26-g67d0