cleanup + first 3d attempt! Only works one way for now (going down)
This commit is contained in:
34
untitled.p8
34
untitled.p8
@@ -1,34 +0,0 @@
|
||||
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
|
Reference in New Issue
Block a user