Road Thirst
Road Thirst
Made in 557 chars of Pico-8 for TweetTweetJam 2.
This is a nice car, only problem is its small tank. But that dirty road will luckily provide all the gas you need. Don't pick too much though or your tank will explode! How far will you go?
Use any button to switch lane. This means using left & right keys works too.
Here's the complete code, just copy & paste in Pico-8 to get the whole game:
srand(3)d=.1t=0l=.5g=0r=rectfill h={}for n=0,999 do add(h,flr(rnd()+.1)*2)end function _update60() cls(14)x=64w=0k=20 for n=0,1,1/95 do j=flr(k+t)y=n*96+32 r(0,y,127,y,13)for m=0,1 do r(x-w+w*m,y,x+w*m,y,h[j%(#h/2)*2+m+1])end if(j%2>0)r(x-w*.03,y,x+w*.03,y,12) w+=1 x+=l k*=.96 end if(pget(64,95)==2 and not q)g+=1 w=t%1<.5 and"m"or"w" ?"-/++\\-\n"..w.."=▤="..w,53,90,7 r(7,117,121,121,2)i=7 if(g<47 or g>99)i=8 if(q)i=g%2+7 r(7,117,g,121,i) ?"km "..flr(t)/100,7,111,7 q=q or g>121 g=mid(7,g-.1,121) t+=.008*min(g-7,40) if(btnp()>0)d=-d l=mid(-.5,l+d,.5)end
Download
Download NowName your own price
Click download now to get access to the following files:
roadthirst_linux.zip 518 kB
roadthirst_mac.zip 3.8 MB
roadthirst_raspi.zip 733 kB
roadthirst_win.zip 947 kB
Comments
Log in with itch.io to leave a comment.
Fun little game.
Got to 101km before I decided to stop.
Wow, impressive score, you won the perseverance cup!
Thanks.
wow! amazing work