Skip to main content

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

Grass, They GrowView game page

A 3d lawn mowing game in two tweets
Submitted by RhizGames (@RhizomaticWar) — 5 days, 4 hours before the deadline
Add to collection

Play game

Grass, They Grow's itch.io page

How many characters of code did you use?
560

Include your code here, if you'd like to show it off!
r=rectfill
x=64y=64a=0s=0k=5g={}for i=1,32do
g[i]={}for j=1,32do
g[i][j]=1end
end::_::
if(btn(2))s+=.07else s*=.9
s=min(s,1)k+=s/4k%=6x+=s*cos(-a+.25)y+=s*sin(-a+.25)
if(btn(0))a-=.01*s
if(btn(1))a+=.01*s
n=sin(a)m=cos(a)for i=1,32do
for j=1,32do
if(rnd()<.0006)g[i][j]+=1
if(abs(x/4-i)<1and abs(y/4-j)<1)g[i][j]=0
l=g[i][j]
local c=i*4+(j%2)*2-x
local u=j*4-y
local v=64+c*m-u*n
local o=64+(c*n+u*m)/2
color(l>3and 11or 3)line(v,o,v+sin(t()/8+i/256),o-l)end
end
r(55,62,73,67,5)r(56,68-k,72,68-k,k>1and 6or 5)r(60,58,68,66,4)r(58,61,70,68,9)flip()cls(0)goto _

Leave a comment

Log in with itch.io to leave a comment.

Comments

No one has posted a comment yet