Skip to main content

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

Shooter500View game page

Shoot at everything and survive! A tiny TweetTweetJam-8 entry in 500 characters of code.
Submitted by SkyBerron (@SkyBerron) — 1 day, 11 hours before the deadline
Add to collection

Play game

Shooter500'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=64y=64u=2v=0s=0p={}::_::cls(1)?s
b=btn()c=b\2%2-b%2d=b\8%2-b\4%2x+=c
y+=d
if(c|d!=0)u=c*2v=d*2
if(btnp(4))add(p,{t=0,x=x,y=y,u=u,v=v,l=128})
if(rnd()<.02+s/999)a=rnd()c=cos(a)d=sin(a)add(p,{t=1,x=x-80*c,y=y-80*d,u=c,v=d,l=180})
for q in all(p)do
q.x+=q.u
q.y+=q.v
a=q.x
b=q.y
q.l-=1if q.t<1then
pset(a+3,b+2)for r in all(p)do
if(r.t>0and max(abs(r.x-a),abs(r.y-b))<4)s+=1q.l=0del(p,r)break
end
else
?"❎",a,b
if(max(abs(a-x),abs(b-y))<4)run()
end
if(q.l<1)del(p,q)
end
?"웃\^1",x,y
goto _

Leave a comment

Log in with itch.io to leave a comment.

Comments

No one has posted a comment yet