Skip to main content

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

Grid Navigation 500View game page

Drive your ship through the grid and avoid crashing into other ships. A TweetTweetJam-8 entry in 494 characters of code.
Submitted by SkyBerron (@SkyBerron) — 1 day, 7 hours before the deadline
Add to collection

Play game

Grid Navigation 500's itch.io page

How many characters of code did you use?
494

Include your code here, if you'd like to show it off!
_set_fps(60)f=128g=256h=0m=64l=line::s::k=.005r=0p={{x=m,y=m,z=0,a=0}}::_::cls(1)r+=.1for j=1,#p do
q=p[j]if j<2then
b=btn()q.a=(b%2-b\2%2)/80x=q.x
y=q.y
for i=0,f,16do
a=i+x%16b=i+y%16l(0,b,f,b,2)l(a,0,a,f)end?r\6,7
?h
end
q.z+=q.a
q.x+=cos(q.z)q.y+=sin(q.z)a=(f+x-q.x)%g-m
b=(f+y-q.y)%g-m
if(j>1and max(abs(a-m),abs(b-m))<8)h=max(h,r\6)goto s
l(6+(3+j)%10)l(a,b)for i=-1,1do
e=q.z+i*1.63l(a-8*cos(e),b-8*sin(e))end
l(a,b)end
if(#p<4+r\60)add(p,{x=x+f,y=y+f,z=rnd(),a=rnd(k)-k/2})
flip()goto _

Leave a comment

Log in with itch.io to leave a comment.

Comments

No one has posted a comment yet