Files
pico8/untitled.p8
2025-07-25 11:46:41 +02:00

35 lines
1.3 KiB
Lua
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

pico-8 cartridge // http://www.pico-8.com
version 42
__lua__
function _init()
x=64
y=64
z=false
end
function _update()
if(btn())x-=1
if(btn())x+=1
if(btn())y-=1
if(btn())y+=1
if(btn())z=not z
if(z) then s=1 else s=0 end
end
function _draw()
cls()
spr(s,x,y)
end
__gfx__
00000000444444440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000445544440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00700700444454440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00077000445544440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00077000444454440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00700700444444440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000444444440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000444444440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000