diff options
| author | ne_mene <[email protected]> | 2026-03-12 20:03:59 +0100 |
|---|---|---|
| committer | ne_mene <[email protected]> | 2026-03-12 20:03:59 +0100 |
| commit | 80564184d492227d4a403358e0f3ffdef0ff008e (patch) | |
| tree | 41e3e2b8a411ba5483f6f3eb8f6f9ec61cb02fc3 /main.lua | |
| parent | b56acf6882d542d4466e6eec6228e280be98f53d (diff) | |
touch reset
Diffstat (limited to 'main.lua')
| -rw-r--r-- | main.lua | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -68,5 +68,12 @@ function love.draw(dt) SCR_WIDTH / 2, SCR_HEIGHT / 2) lg.print(tostring(love.timer.getFPS())) + lg.print("left "..tostring(player.box:touching_left()), 0, 20) + lg.print("right "..tostring(player.box:touching_right()), 0, 40) + lg.print("horizontal "..tostring(player.box:touching_horizontal()), 0, 60) + lg.print("up "..tostring(player.box:touching_up()), 0, 80) + lg.print("down "..tostring(player.box:touching_down()), 0, 100) + lg.print("vertical "..tostring(player.box:touching_vertical()), 0, 120) + lg.print("any "..tostring(player.box:touching()), 0, 140) input_step() end |
