Twaffic
My first #tweettweetjam, a tiny game made in a few days in PICO-8, with source code that fits in two tweets (560 characters including the graphics, which are created by poke()-ing values to memory at game start). Try to make it past all 4 levels-- it's possible, but the third and forth levels are challenging.
Note that your only controls are the up and down arrows, you can't move side to side.
Source code:
p=poke4 p(132,0x2.2222)p(196,0xcc2.2222)p(260,0xc0c2.2228)p(324,0xccc2.2222)p(388,0x606.0606)p(452,0x60.006) g=1::s::y=123::r::cls()srand(8) for i=1,g*3do z=i*33/g+5 l=4+i*3%15 pal(2,rnd(9)+7) d=i%2*2-1 x=d*t()*(rnd(50)+9) n=0if(l<8)n=1 for j=0,n do x=(x+j*99)%155-32 sspr(8,0,8,8,x,z,2*l,8,d<0) if abs(x+l+4*d-67)<l-1 and abs(z-y+2)<5.5then ?"❎",63,y,8 for i=1,30do flip()end goto s end end end b=btnp()y+=3*(b\8%2-b\4%2) ?"twaffic" ?"★ lvl "..g.."/4",63,0,10 ?"⬆️",63,y,11 if y<6then g+=1 if(g>4)cls(3)print("win",56,60,7)stop() goto s end flip()goto r
Status | Released |
Platforms | HTML5 |
Rating | Rated 5.0 out of 5 stars (3 total ratings) |
Author | icegoat9 |
Genre | Action |
Made with | PICO-8 |
Tags | demo, frogger, microgame, PICO-8, tweetjam, tweettweetjam, tweettweetjam5 |
Average session | A few minutes |
Comments
Log in with itch.io to leave a comment.
Nice! The truck being coded in is a cool touch (especially for tweet carts). Good use on escalating difficulty, too.
Trucks look good! The fourth level is pretty challenging.