Files
picoGraph/public/pico8-cart.p8

52 lines
1.7 KiB
Lua

pico-8 cartridge // http://www.pico-8.com
version 41
__lua__
-- Generated with picoGraph
zzzz = ""
offset = 0
color = 5
var1 = nil
function _update()
-- sequence a
cls()
offset = 0
-- sequence b
if btn(0, 0) then
print("left", 0, offset, rnd((16) + (1)))
custom_addoffset()
end
-- sequence c
if btn(1, 0) then
print("right", 0, offset, color)
local itsalocalvariable = true
if itsalocalvariable then
custom_addoffset()
end
end
-- sequence d
if btn(2, 0) then
print("up", 0, offset, color)
custom_addoffset()
end
-- sequence e
if btn(3, 0) then
print("down", 0, offset, color)
custom_addoffset()
end
end
function custom_addoffset()
offset = (offset) + (7)
end
__gfx__
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000