Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
A jam submission

Spark DodgerView game page

Dodge sparks forever in a game made with <500 chars of code!
Submitted by miniignis — 1 day, 8 hours before the deadline
Add to collection

Play game

Spark Dodger'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!
?"\ace.a.ce.a.faf"
x,y,dx,dy,r,w,g,t,h=64,7,0,0,rnd,128,{},0,60?"\^!5f100▒➡️12☉8"
function _update60()t+=1for i=0,500do local x,y=r(w),r(w)circ(x,y-1,1,max(pget(x,y)-1))end if(t/h%5==0)add(g,{x=h,y=h,k=mid((1.05^time()/2),16),v=rnd(1)})?"\ace.g",0,0
foreach(g,function(s)circfill(s.x,s.y,s.k,10)s.x,s.y=s.x+sgn(x-s.x)*s.v,s.y+sgn(y-s.y)*s.v end)if(pget(x,y)==10)run()
b=btn()dx+=(b&2)/2-(b&1)dy+=(b&8)/8-(b&4)/4dx*=.98dy*=.98x,y=dx/12+x%w,.5+dy/12+y%w?t\h,64,64,7
rect(0,0,w-1,w-1,3)?"◆",x-3,y-2,7
end

Leave a comment

Log in with itch.io to leave a comment.

Comments

Submitted

Whoa - this is super pretty, especially for only 500 characters.