Tworbit
A tiny pico-8 game built in a few hours for #tweettweetjam 6, in less than 560 characters of source code.
- Use the arrow keys ⬅️/➡️ to move your ship
- ❎ (X on most keyboards) to fire
- Clear all enemies ★ on a level to advance
- There are 9 levels
It's not much of a game, sadly-- it was mostly an exercise to try to cram something inspired by Gyruss into 560 characters.
Source code:
function k(r,a,s,c) ?s,60+r*cos(a/9),62+r*sin(a/9),c end poke4(12868,2912.0447)poke(12933,4)poke4(12800,2959)poke(12865,8) p=56q=6s=99t=0f=2n=4l=1e=93 ::m::b=btnp()q+=b%2-b\2%2q%=9 if(b>15)s,t=p,q sfx(1) if(e==93)e=5f+=({2,-1,1,-2})[l%4+1]+l\4*flr(rnd(5)-3)f%=9 if(e<93)e+=.7+l/9 if(e>85)e=93 if(s<99)s-=2 if(s<3)s=99 if(f==t and s-e<4)s=99n-=1e=93sfx(0) if(f==q and abs(e-p)<4)cls(8)stop() if(n<1)l+=1n=6 flip()cls(0) ?"l "..l.."/9, ★ "..n fillp(23130)circfill(63,64,p,l%4) k(p,q,"🐱",11)k(s,t,"◆",8)k(e,f,"★",10) if(l>9)stop("win!",55,61) goto m
Comments
Log in with itch.io to leave a comment.
good game :)