Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
A jam submission

Space Shooter 500View game page

Endless enemy waves keep coming. How long can you survive? A tiny TweetTweetJam-8 entry in 500 characters of code.
Submitted by SkyBerron (@SkyBerron) — 19 hours, 16 minutes before the deadline
Add to collection

Play game

Space Shooter 500's itch.io page

How many characters of code did you use?
500

Include your code here, if you'd like to show it off!
_set_fps(60)x=61y=96z=0p={}w={}s=0f=121n=rnd
g=abs::_::b=btn()x=mid(x+b\2%2-b%2,f)y=mid(y+b\8%2-b\4%2,f)?s
z-=1if(z<0)z=10add(w,{x=x,y=y-3})
for q in all(p)do
q.y+=.8a=q.a+q.b*sin(q.y/q.d)q.x=a?"🅾️",a,q.y
if(max(g(x-a),g(y-q.y))<4)run()
if(q.y>136)del(p,q)
end
for r in all(w)do
r.y-=2?"!!",r.x,r.y
for q in all(p)do
if(max(g(r.x-q.x),g(r.y-q.y))<4)s+=1del(p,q)r.y=-9break
end
if(r.y<-8)del(w,r)
end
if(#p<=s\9)a=n(f)b=16+n(16)d=64+n(64)for i=1,6do add(p,{a=a,b=b,d=d,y=-i*9})end
?"★\^1\^c",x,y
goto _

Leave a comment

Log in with itch.io to leave a comment.

Comments

No one has posted a comment yet