Skip to main content

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

car driveView game page

Drive on the motorway and avoid cars! 500 characters, made in TIC-80
Submitted by SRB2er — 5 days, 22 hours before the deadline
Add to collection

Play game

car drive'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!
c=circ
p=print
r=rect
b=btn
t=0
x=36y=108m=math
x2=68l=pix
TIC=load[[cls()for j=0,1 do
r(j*208,0,32,136,6)for i=-16,16 do
p("|",119+j,i*8+t%136,4)end
end
for i=0,1 do
for j=0,1 do
r(x2+i*18-2,t%136+j*18+2,2,8,x2%3+8)end
end
r(x,y,8,16,2)if b(2)then x=x-1 end
if b(3)then x=x+1 end r(x2,t%136,16,32,x2%3+9)
if x<48 then x=48 end
if x>184 then x=184 end
t=t+1
if t%136==0then x2=x-4sfx(0,32,10)end
for i=0,7 do
for j=0,31 do
if l(x+i,y+j)==(x2%3+9)then sfx(0,0,10)reset()end
end
end
p(t//136,116,2,2)]]

Leave a comment

Log in with itch.io to leave a comment.

Comments

Submitted(+1)

Me in my little car dodging the broken down cybertrucks. I like how they always spawn directly in front of you.

Submitted(+1)

I like this game. Using the road line to give a sense of movement is so clever!

DeveloperSubmitted

I could actually bring this down to something like 492, now I look at it...