Play cart
Cloud jump's itch.io pageHow many characters of code did you use?
550
Include your code here, if you'd like to show it off!
pal({[0]=7,12,1},1)
x,y=64,64
n,t,j,p=0,0,0,-1
v,w=64,64
c={}
for i=-9,127,8 do
add(c,{x=i,y=120})
end
while x do
cls(1)
if(t>p+10)add(c,{x=-8,y=n})t,n=0,(n+79)%128
for q in all(c)do
line(q.x,q.y,q.x+8,q.y,0)
q.x+=.1
if(q.x>128)del(c,q)
end
if(btn(⬅️))x-=1
if(btn(➡️))x+=1
x%=128
if(btn(❎) and pget(x,y+1)==0)j=16
if(j==0)y+=pget(x,y+1)
if(j>5)y=max(0,y-1)
if(j>0)j-=1
if(abs(v-x)<2 and abs(w-y)<2)p+=1 v,w=rnd(114)+8,rnd(114)+8
pset(x,y,8)
pset(v,w,10)
print(p,1,1,9)
t+=1
flip()
if(y>=127)print('score: '..p,46,62,2)while not btnp(🅾️) do end run()
end
Leave a comment
Log in with itch.io to leave a comment.