aboutsummaryrefslogtreecommitdiff
path: root/bin/main.lua
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-10-16 08:01:56 +0800
committerchai <chaifix@163.com>2018-10-16 08:01:56 +0800
commit90802fc96de6523ce12290cd66703aa1351c91dd (patch)
tree595aef837e29c15ffc470d4c847dbb35d80b017c /bin/main.lua
parentb3b6fbb33d2b974e7e5e538c4ceebdfb24ca7cd1 (diff)
*修改默认字体
Diffstat (limited to 'bin/main.lua')
-rw-r--r--bin/main.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/bin/main.lua b/bin/main.lua
index 69c6608..3655cf5 100644
--- a/bin/main.lua
+++ b/bin/main.lua
@@ -15,7 +15,7 @@ end
function jin.core.onEvent(e)
if e.type == "Quit" then
jin.core.stop()
- end
+ end
end
local t = 0
@@ -31,6 +31,12 @@ function jin.core.onUpdate(dt)
end
end
+function run()
+ --#if editor
+
+ --#endif
+end
+
function jin.core.onDraw()
jin.graphics.print(string.format("FPS: %d\nok this is another test", fps), 0, 0)
end \ No newline at end of file