Improve input keys

This commit is contained in:
2023-01-02 14:05:11 +01:00
parent d8d0818288
commit 8dca99ccc3

View File

@ -1,5 +1,5 @@
pico-8 cartridge // http://www.pico-8.com
version 37
version 39
__lua__
-- maths attacks --
-- by djib --
@ -129,11 +129,11 @@ function get_input()
end
end
elseif btn_held(❎) then
result = "fire!"
elseif btn_pressed(🅾️) then
result = "0"
elseif btn_held(🅾️) then
elseif btn_pressed(🅾️) then
result = "clear!"
elseif btn_held(🅾️) then
result = "fire!"
end
return result
end
@ -165,8 +165,6 @@ function draw_keypad()
)
end
end
-->8
__gfx__
66666660666666606666666066666660666666606666666066666660666666606666666066666660000000000000000000000000000000000000000000000000
67111765671177656711176567111765671717656711176567111765671117656711176567111765000000000000000000000000000000000000000000000000