Skip to main content

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

comets (ttj5)View game page

For TweetTweetJam 5
Submitted by zep (@lexaloffle) — 4 days, 18 hours before the deadline
Add to collection

Play game

comets (ttj5)'s itch.io page

How many characters of code did you use?
549

Include your code here, if you'd like to show it off!
pal({1,1,2,2,13,13,8,8,8,7,12,14},1)cls()m,x,y,u,v,t,c={},64,64,0,0,0,circfill
::_::print(#m,4,4,12)flip()for i=24576,32767do
poke(i,(@i)/1.4)end
rect(0,0,127,127,12)rect(1,0,126,126)t+=1for a in all(m) do
d=atan2(x-a.x,y-a.y)
a.u+=cos(d+a.q/8)/9a.v+=sin(d+a.q/8)/9
a.u*=.98a.x+=a.u
a.v*=.98a.y+=a.v
c(a.x,a.y,2,12)end
if(pget(x,y)>11)e=max(e,1)
if(e)circ(x,y,2+e,8+e%8)e+=1goto _
if(t%16==0)add(m,{q=rnd()-rnd(),x=64,y=0,u=0,v=0,r=2+rnd(4)})
b=btn()
u+=(b&2)/2-(b&1)u*=.7x+=u
v+=(b&8)/8-(b&4)/4v*=.7y+=v
if(u<0)u+=.1
if(v<0)v+=.1
c(x,y,1,10)goto _

Leave a comment

Log in with itch.io to leave a comment.

Comments

No one has posted a comment yet