Play game
PicoLander's itch.io pageHow many characters of code did you use?
559
If you're comfortable with it, paste your game code here, so we can marvel at your achievement!
j={0,4,5,6,7,13}
c={}
m=63
e=50
for i=1,e do
add(c,{x=rnd(512)-256,y=rnd(512)-256,r=rnd(60),c=j[flr(rnd(7))]})
end
c[e].c=11
x=m
y=m
dx=0
dy=0
z=1
f=80
h=1000
dh=0
b=btn
::_::
cls(15)
z=1-h/1000
for i=1,e do
circfill(z*(c[i].x-x)+m,z*(c[i].y-y)+m,z*c[i].r,c[i].c)
end
circ(m,m,1,3)
?"h "..h,80,10,1
?"⬇️"..dh,80,20,1
?"f "..f,80,30,1
if (b(⬇️)) dy+=.1
if (b(➡️)) dx+=.1
if (b(⬆️)) dy-=.1
if (b(⬅️)) dx-=.1
if (b(❎) and f>0) dh+=.2 f-=0.2
x+=dx
y+=dy
h+=dh
dh-=0.07
if h<1 then
l=pget(m,m)
cls()
if dh<-2 or l!=11 then
?"fail"
else
?"🅾️k"
end
else
flip()
goto _
end
Leave a comment
Log in with itch.io to leave a comment.
Comments
No one has posted a comment yet