How long can you survive the bullet hell? A tiny TweetTweetJam-8 entry in 499 characters of code.

Code:

_set_fps(60)f=128x=64y=64p={}::_::cls()n=-1?t()\1
b=btn()x=mid(x+b\2%2-b%2,f)y=mid(y+b\8%2-b\4%2,f)for q in all(p)do
if q.t<1then
n+=1?"🅾️",q.x-3,q.y-2,q.c
if q.c<8then
q.c+=.1else
q.w-=1if(q.w<1)q.w=60q.a+=.01for i=1,8do a=q.a+i/8add(p,{t=1,x=q.x,y=q.y,u=cos(a)/3,v=sin(a)/3,l=640})end
end
else
q.x+=q.u
q.y+=q.v
pset(q.x,q.y,10)q.l-=1if(q.l<1)del(p,q)
end
end
if(n<t()\9)add(p,{t=0,c=1,x=rnd(f),y=rnd(f),w=10,a=0})
?"★\^1",x-3,y-2,14
for q in all(p)do
if(q.t>0and pget(q.x,q.y)==14)run()
end
goto _

Leave a comment

Log in with itch.io to leave a comment.