Play game
2 Tiny Bombers Race Home's itch.io pageHow many characters of code did you use?
556
If you're comfortable with it, paste your game code here, so we can marvel at your achievement!
cls(13)q,e,f,h,w,v=127,pget,pset,btn,rnd,circfill
p={}
for i=0,9 do
p[i]={i*q,i*q}rect(w(q),w(q),w(q),w(q),0)
?"⌂",56,56,11
end
b={}::_::
if(o)cls(o)
for i=0,1 do
x,y=p[i][1],p[i][2]
f(x,y,0)m,c=0,0
if(h(0,i))m=-1
if(h(2,i))c=-1
if(h(1,i))m=1
if(h(3,i))c=1
if(e(x+m,y+c)==11)o=i+8
if(e(x+m,y)<1)x+=m
if(e(x,y+c)<1)y+=c
if(not b[i]and h(5,i))b[i]={x=x,y=y,r=6,t=60}
if b[i] then
f(b[i].x,b[i].y,w(6))b[i].t-=1
u=b[i]if u.t<0 then
u.r-=1
r,j=6-u.r,7
if(u.r<0)r,j=-u.r,0
v(u.x,u.y,r,j)
if(u.r<-6)b[i]=nil
end
end
f(x,y,8+i)p[i][1],p[i][2]=x,y
end
flip()goto _
Leave a comment
Log in with itch.io to leave a comment.