Skip to main content

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

Match Heart Colour 500View game page

Switch colour and collect hearts the same colour as your character. A TweetTweetJam-9 entry in 499 characters of code.
Submitted by SkyBerron (@SkyBerron) — 6 hours, 12 minutes before the deadline
Add to collection

Play game

Match Heart Colour 500's itch.io page

How many characters of code did you use?
499

Include your code here, if you'd like to show it off!
_set_fps(60)h=0::s::x=64y=64s=0c=0p={}n=0m=15l=1?"\afed"
::_::cls(1)n-=.1?s,6
?h
if(n<0)d=rnd(2)\1add(p,{x=d*122,y=0,z=rnd(120),u=0,v=.5,w=.5-d,c=rnd(4)\1})m*=.99n+=m
b=btn()x=mid(x+(b&2)/2-(b&1),122)y=mid(y+(b&8)/8-(b&4)/4,123)b=btnp()\16c+=(b&2)/2-(b&1)c%=4for q in all(p)do
q.x+=q.u
q.y+=q.v?"♥",q.x,q.y,6+2*q.c
if(q.u==0and q.y>q.z)q.v=0q.u=q.w
if abs(x-q.x)<6and abs(y-q.y)<4do
if(c!=q.c)l=0
del(p,q)s+=1?"\acb"
end
if(q.x<-8or q.x>128)l=0
end?"웃",x,y,6+c*2
if(l<1)h=max(s,h)goto s
flip()goto _

Leave a comment

Log in with itch.io to leave a comment.

Comments

No one has posted a comment yet