Skip to main content

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

Shoot Down 500View game page

Shoot down enemy missiles. A tiny TweetTweetJam-8 entry in 500 characters of code.
Submitted by SkyBerron (@SkyBerron) — 17 hours, 36 minutes before the deadline
Add to collection

Play game

Shoot Down 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)m=64f=127x=64y=64z=0p={}w={}s=0::_::cls(1)n=m-t()\1?s
?n
if(n<0)run()
b=btn()x=mid(x+b\2%2-b%2,f)y=mid(y+b\8%2-b\4%2,f)if(#w<3)add(w,{x=0,y=16+rnd(m),u=.3+rnd(.3),c=8+rnd(8)})
z-=1if(btn(4)and z<0)z=10add(p,{x=x,y=y,t=0})
for q in all(p)do
u=m+q.t*(q.x-m)v=f+q.t*(q.y-f)?"*",u-1,v-2,10
q.t+=.05if q.t>1then
for r in all(w)do
if(max(abs(u-r.x),abs(v-r.y))<4)q.t=1del(w,r)s+=1
del(p,q)end
end
end
for r in all(w)do
?"➡️",r.x-3,r.y-2,r.c
r.x+=r.u
if(r.x>f)del(w,r)
end?"+\^1",x-1,y-2,6
goto _

Leave a comment

Log in with itch.io to leave a comment.

Comments

No one has posted a comment yet