Take your spaceship through the bullet hell. A game in 560 characters of code for TweetTweetJam 7

Controls: Left / Right / Up / Down

If you stand in front of the enemy for enough time, it will be destroyed by your (invisible) lasers.

PICO-8 Source Code:

_set_fps(60)h=0z=120m=mid::s::e={}p={}x=60y=80t=1w=5s=0::_::cls(1)t-=.01b=btn()x+=(b&2)/2-(b&1)y+=(b&8)/8-(b&4)/4x=m(x,z)y=m(y,z)
?s
?h
if(t<0)add(e,{x=rnd(z),y=-8,t=1,l=7})w*=.95t+=w
?"★",x,y,12
for f in all(e)do
?"🅾️",f.x,f.y,2+f.l
f.y+=.1f.t-=.01
if f.t<0then
s+=1for i=0,11do
c,d=cos(i/12)/2,sin(i/12)/2add(p,{x=f.x+3+8*c,y=f.y+2+8*d,u=c,v=d})end
f.t+=1end
if(abs(f.x-x)<4)f.l-=.02
if(f.l<0)del(e,f)
end
for q in all(p)do
q.x+=q.u
q.y+=q.v
if(pget(q.x,q.y)==12)h=max(h,s)goto s
pset(q.x,q.y,10)
if(q.x!=m(q.x,128)or m(q.y,128)!=q.y)del(p,q)
end
flip()goto _


StatusReleased
PlatformsHTML5
Rating
Rated 3.0 out of 5 stars
(1 total ratings)
AuthorSkyBerron
GenreShooter
Made withPICO-8
TagsPICO-8

Leave a comment

Log in with itch.io to leave a comment.