Skip to main content

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

Bouncing Faces 500View game page

Shoot the bouncing enemies. ​A TweetTweetJam-9 entry in 498 characters of code.
Submitted by SkyBerron (@SkyBerron) — 3 days, 7 hours before the deadline
Add to collection

Play game

Bouncing Faces 500's itch.io page

How many characters of code did you use?
498

Include your code here, if you'd like to show it off!
_set_fps(60)x=60f=120g=240p={}w={}s=0::_::cls(1)rect(0,126,127,127,3)?s
if(#p<=1+t()\40)add(p,{a=rnd(f),b=0,v=rnd(.5),l=15})
b=btn()x=mid(x+(b&2)/2-(b&1),f)
if(btnp(4)and #w<5)add(w,{x=x,y=f})
for q in all(p)do
q.a+=1q.a%=g
q.b+=q.v+1q.b%=g
a=min(q.a,g-q.a)b=min(q.b,g-q.b)if(abs(a-x)<6and abs(b-f)<4)run()
for r in all(w)do
if(abs(a-r.x)<6and abs(b-r.y)<4)q.l-=1del(w,r)
end?"😐",a,b,10
if(q.l<1)del(p,q)s+=1
end
for r in all(w)do
r.y-=2?"●",r.x,r.y,12
if(r.y<-6)del(w,r)
end?"★",x,f,7
flip()goto _

Leave a comment

Log in with itch.io to leave a comment.

Comments

No one has posted a comment yet