Play game
Tiny Bomber Goes 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)c,q,e,f,h,w=0,127,pget,pset,btn,rnd
v=circfill
for i=0,50 do
v(w(q),w(q),w(4),0)line(w(q),w(q),w(q),w(q))end
x,y,b=9,9,{}
v(x,y,8,0)::_::d={}f(x,y,0)m=0
c=1
if(h(0))m=-1
if(h(1))m=1
if(btnp(4))c-=2
if(e(x+m,y)<1)x+=m
if(e(x,y+c)<1)y+=c
if(h(5))add(b,{x=x,y=y,r=6,t=60})
for i=#b,1,-1 do
f(b[i].x,b[i].y,w(6)+1)b[i].t-=1
if b[i].t<0 then
u=b[i]
u.r-=1
r,t=6-u.r,7
if(u.r<0)r,t=-u.r,0
v(u.x,u.y,r,t)
if(u.r<-6)add(d,u)
end
end
for i=1,#d do del(b,d[i])end
?"⌂",99,99,11
k=e(x,y)
if(k==7)run()
if(k>9)goto l
f(x,y,8)flip()
?"⌂",99,99,0
goto _::l::cls()
Leave a comment
Log in with itch.io to leave a comment.
Comments
No one has posted a comment yet