Play game
Rainbow Shots From Outer Space!'s itch.io pageHow many characters of code did you use?
497!
Include your code here, if you'd like to show it off!
์=rnd ๐=128e={}p=62โฅ=3โ=1โฝ={}function g(a,b,c,f)return abs(a-c)+abs(b-f)end
function _draw()if โฅ>0do if(t()%1==0)add(e,{x=์(๐),y=0})
cls()?"โ
",p,99,7
?โ.."โ "..โฅ.."โฅ",50,0
for j in all(e)do
j.y+=1if g(j.x,j.y,p,99)<5do
j.x=-9โฅ-=1end
if(j.x>9)j.x+=sin(t())
for i in all(โฝ)do
?"โ",i.x,i.y,i.y%9
i.y-=1if(g(i.x,i.y,j.x,j.y)<6)del(โฝ,i)j.x=-9โ+=1end
if(j.y>๐)del(e,j)
?"๐ฑ",j.x,j.y,8
end
if(t()%1==0)add(โฝ,{x=p,y=90})
b=btn()
p+=(b\2%2-b%2)*2
for i=0,9do?".",์(๐),์(๐),10
end
else?"dead",55,60
end
end
Leave a comment
Log in with itch.io to leave a comment.
Comments
That timed firing is hard to get used to, but everything else here is great. I especially like the randomising starfield frame to frame, giving the impression of ridiculous speed.
yes, i had to settle for the random one, started out with nice parallax, but sadly charcuts made it impossible. But thanks for the kind words!