Leave me alone!!
A game made for tweettweetjam2
Using Pico-8
* Play on mobile using this url: https://www.lexaloffle.com/bbs/?tid=34229
Story:
For some reason. Neighbors start running to your house. Throw stones to protect your privacy.
Controller:
Press "z" button for change direction.
Press "x" button for restart game.
Code:
q=63w={}b={}t=0s=0z=0p=btn a=abs
function _update()
if s<0then
if(p(5))s=0
else
pal()cls()t+=1
?s
u=cos(z)v=sin(z)x=q+(u*8)y=q+(v*8)
if(t%6==0)add(b,{x=x,y=y,u=u,v=v,t=t})
if(p(4))z-=0.08
z+=0.04
if(t%50<=s%6)r=rnd(1)k={u=-cos(r),v=-sin(r)}k.x=q+k.u*q k.y=q+k.v*q add(w,k)
?"●",x,y,7
for g in all(b)do
g.x+=g.u
g.y+=g.v
?"●",g.x,g.y
if(t-g.t>40)del(b,g)
for o in all(w)do
if(6>a(g.x-o.x)and 6>a(g.y-o.y))g.t-=90 del(w,o)s+=1
end
end
?"⌂",q,q
for o in all(w)do
o.x-=o.u
o.y-=o.v
?"웃",o.x,o.y,8
if(3>a(o.x-q)and 3>a(o.y-q))pal(7,5,1)b={}s=-1t=0w={}
end
end
end
*If you like this game. You can support by buying game cartridge. :)
Status | Released |
Platforms | HTML5 |
Rating | Rated 4.0 out of 5 stars (1 total ratings) |
Author | OAB |
Made with | PICO-8 |
Tags | jam, one-button, PICO-8 |
Accessibility | One button |
Download
Click download now to get access to the following files:
Comments
Log in with itch.io to leave a comment.
awesome game! very awesome way to deal with the sourcecode too!