A game in 549 characters of code for TweetTweetJam 5

You are driving at night, but something is wrong in your car...


This game was made for #TweetTweetJam and contains only 549 characters of code, including art. The code is below:

_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 _
StatusReleased
PlatformsHTML5
Rating
Rated 5.0 out of 5 stars
(1 total ratings)
AuthorSkyBerron
GenreAction
Made withPICO-8
TagsPICO-8, tweettweetjam

Comments

Log in with itch.io to leave a comment.

Your description, the colors and limited vision somehow made me remember Lost Highway's intro/outro scene.

Thanks for playing! I haven't watched that David Lynch's film yet. I like the intro scene. Nice music from David Bowie.

The lighting effect is very cool!

Thanks. I felt I had to use the recently added feature of bitplanes / pixel bitmasking. I think it was the first time I used it. I was so happy it worked as intended that I didn't care to save some chars on the pal() and poke() sentences. It's amazing how visual effects can make a simple game look better.

For sure. Though the importance of visuals can be a double edged sword when making tweet games.