Files
pico8/first3d.p8

62 lines
3.7 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()
end
function _draw()
cls()
print("press ⬆️ to rotate up")
print("press ⬇️ to rotate down (broken)")
x=32
y=32
w=64
h=64
txo=xo
x1=x
for i=0,h-yo do
w-=xo
x1+=xo
tline(x1,i+y+yo,x+w,y+i+yo,0,i/8)
end
xo=txo
end
xo=0
yo=0
x=32
y=32
w=64
h=64
function _update()
if (btn()) then
xo+=0.01
yo+=.5
end
if (btn()) then
xo-=0.01
yo-=.5
end
end
__gfx__
00000000112211222222222200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000112211222222222200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00700700221122112222222200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00077000221122112222222200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00077000112211222222222200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00700700112211222222222200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000221122112222222200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000221122112222222200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
__map__
0101010101010101010101010101010100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0101010101010101010101010101010100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0101010101010101010101010101010100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0101010101010101010101010101010100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0101010101010101010101010101010100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0101010101010101010101010101010100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0101010101010101010101010101010100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0101010101010101010101010101010100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0101010101010101010101010101010100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000