summaryrefslogtreecommitdiff
path: root/demo
diff options
context:
space:
mode:
authorsanine-a <sanine.not@pm.me>2020-10-18 12:10:48 -0500
committersanine-a <sanine.not@pm.me>2020-10-18 12:10:48 -0500
commit225167461d754b476b4fcc7726c492cc972ca654 (patch)
treed0a8060fe28a94b6fb24c002aa9744706e496b18 /demo
parent1bc1f216e5682cd7918240f37f3709b642e08e2b (diff)
clear out old files, add basic scripting
Diffstat (limited to 'demo')
-rw-r--r--demo/main.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/demo/main.lua b/demo/main.lua
new file mode 100644
index 0000000..3ec95cb
--- /dev/null
+++ b/demo/main.lua
@@ -0,0 +1,11 @@
+for key, value in pairs(honey.input.key) do
+ print(key, value)
+end
+
+function honey.update(dt)
+ print(dt)
+end
+
+function honey.draw()
+ print('draw!')
+end