Files
PICO-8/pyras.p8
2021-11-09 23:41:57 +01:00

35 lines
1.1 KiB
Lua

pico-8 cartridge // http://www.pico-8.com
version 33
__lua__
guyposx=64
guyposy=64
guyspeedx=2
guyspeedy=2
function _update()
if btn(0) then
guyposx-=guyspeedx
end
if btn(1) then
guyposx+=guyspeedx
end
if btn(2) then
guyposy-=guyspeedy
end
if btn(3) then
guyposy+=guyspeedy
end
end
function _draw()
cls()
rect(guyposx,guyposy,guyposx,guyposy,3)
end
__gfx__
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00700700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00077000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00077000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00700700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000