Skip to main content

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

Driving at nightView game page

You are driving at night, but something is wrong in your car...
Submitted by SkyBerron (@SkyBerron) — 3 days, 21 hours before the deadline
Add to collection

Play game

Driving at night'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!
_set_fps(60)z,f,m,l,h=mid,120,64,20,0::s::x,y,r,s,t,p=m,110,0,2,0,{}pal(8,0,1)pal(4,1,1)for i=1,31do
p[i]={x=4*i,y=0,v=.4+rnd(.3)}end::_::cls()t+=.01
s+=.001r,w=(r-s)%(2*l),flr(t)h=max(h,w)b=btn()x+=(b&2)/2-(b&1)y+=(b&8)/8-(b&4)/4
x,y=z(x,f),z(y,f)poke(0x5f5e,0x11)ovalfill(x-37,y-f,x+43,y+2,1)poke(0x5f5e,0xee)for i=0,5do
u=m+l*(i-2.5)for j=0,5do
v=2*j*l-r
line(u,v,u,v+l,4)end
end
for i=1,31do
q=p[i]q.y=(q.y+s*q.v)%(4*f)v=q.y-3*f
?"❎",q.x,v,8
if(q.x==z(x-6,q.x,x+6)and z(y-2,v,y+2)==v)goto s
end
?"⬆️",x,y,2
?"s:"..w.."\nh:"..h,8,8,15
flip()goto _

Leave a comment

Log in with itch.io to leave a comment.

Comments

No one has posted a comment yet