Play game
LangTweeTweet's Centipede's itch.io pageHow many characters of code did you use?
558
Include your code here, if you'd like to show it off!
for i=0,4do
poke2(12868+i*68,2584+((i*2.34)\1))end
for i=0,1024do
poke(i,(1+rnd(4)\1<<4)+1+rnd(4)\1)end
a={}for i=1,30do
add(a,{x=0,y=1,c=0,u=0})end
x=9b=0n=0::_::sspr(0,0,32,32,0,0,256,256)for i in all(a)do
p=pget(i.x,i.y)
if(t()%1==0)sfx(p)sset(i.x\8,i.y\8,p>3and 1or p+1)i.x+=i.c i.y+=i.u
i.x%=128i.y=max(i.y,0)i.u=0i.c=0
if(p==1)i.c=8
if(p==2)i.c=-8
if(p==3)i.u=8
if(p==4)i.u=-8
b-=2/#a
pset(n,b)
if((n-i.x)\8==0and(b-i.y)\6==0)del(a,i)b=-1
if(i.y>120)run()
?'🐱',i.x,i.y,7
end
if(btn(0))x-=2
if(btn(1))x+=2
if(btn(4))b=124n=x
?'웃',x,121
flip()cls()goto _
Leave a comment
Log in with itch.io to leave a comment.
Comments
No one has posted a comment yet