Skip to main content

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

Dither WarsView game page

Paint the world
Submitted by Munro (@MunroHoberman) — 3 hours, 10 minutes before the deadline
Add to collection

Play game

Dither Wars's itch.io page

How many characters of code did you use?
539

Include your code here, if you'd like to show it off!
x=9y=9z=700a=0v=0cls()for i=1,7do
circfill(i*8+4,4,3,i+6)end
memcpy(0,6<<12,7^5)o,u=cos,sin::_::q={0,0,0,0,0,0}
r=1p=btn()a+=(p\2%2-p%2)/99v=(p\4%2-p\8%2)/2g=o(-a)h=u(-a)x+=g*v
y+=h*v
c=o(a)s=u(a)for f=0,63do
for l=0,63do
if(t()<.1)mset(f,l,rnd(5)+2)
q[mget(f,l)]+=1end
end
for i=0,128do
n=rnd(64)m=rnd(64)e=mget(n,m)for k=0,1,1/4do
mset(n+o(k),m+u(k),e)mset(x+g*9+o(k),y+h*9+u(k),1)end
f=z/i
tline(0,i,127,i,x+f*(c-s),y+f*(-c-s),1/64*s*f,1/64*c*f)end
?"웃",60,74,0
l=0for i=1,6do
w=q[i]/4096*127rectfill(l,0,w+l,6,i+6)l+=w
end
flip()goto _

Leave a comment

Log in with itch.io to leave a comment.

Comments

No one has posted a comment yet