aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/Jin.exebin549376 -> 548864 bytes
-rw-r--r--bin/jin.exebin549376 -> 548864 bytes
-rw-r--r--bin/main.lua10
3 files changed, 4 insertions, 6 deletions
diff --git a/bin/Jin.exe b/bin/Jin.exe
index f29d456..e421600 100644
--- a/bin/Jin.exe
+++ b/bin/Jin.exe
Binary files differ
diff --git a/bin/jin.exe b/bin/jin.exe
index f29d456..e421600 100644
--- a/bin/jin.exe
+++ b/bin/jin.exe
Binary files 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