summaryrefslogtreecommitdiff
path: root/demo/main.lua
blob: ba548b9540c44885d99b7442f7df3125a88d83a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
for key, value in pairs(honey.input) do
   print(key, value)
end

local total_time = 0

function honey.update(dt)
   if honey.input.is_down(honey.input.key.a) then
      print('a pressed!')
   end
end

--function honey.draw()
--   print('draw!')
--end