massive multiplayer moon lander
* LEFT / RIGHT = fire boosters (both to slow down) *
* Land gently on the target to win! *
* Yes, those are other players :) *
* Reload to play again after victory *
======
TECHNICAL NOTES
* The game uses PICO8 GPIO pins to talk to the server!
* GPIO JS interface thanks to https://github.com/benwiley4000/pico8-gpio-listener
======
CODE (560 chars)
g=0x5f80m=memcpy
u=0x4300s=memset
k=63s(g,9,1)n=1p=poke::❎::d=print
o=128t=0r=1x=o*rnd()y=0q=0v=0z=0.05f=99w=0::_::cls()circfill(k,230,o,6)rect(0,0,1,f,9)
?"❎",32,105,8
if(@g==2)m(u+n*o,g,o)p(g,3)n+=1
b=0a=0j=btn
if(f>0)then
if(j(⬅️))a+=z b-=z d("ˇ",x-3,y+4,9)f-=1
if(j(➡️))a-=z b-=z d("ˇ",x+4,y+4,9)f-=1
end
q+=a
v+=b+z
if pget(x+3,y+5)==8and v<1then
w=1else
x+=q
y+=v
end
for e=1,n-1do
h=@(u+e*o+r*2)l=@(u+e*o+r*2+1)
if(r>k)h=o
?"웃",h,l,2
end
?"웃",x,y,7
flip()t+=1if(t%3==0and r<k)p(u+r*2,x)p(u+r*2+1,y)r+=1
if(y<o*2and w<1)goto _
p(u,1)m(g,u,o)
if(w<1)goto ❎
Status | Released |
Platforms | HTML5 |
Rating | Rated 4.0 out of 5 stars (2 total ratings) |
Author | superfluid |
Made with | PICO-8 |
Tags | PICO-8, tweettweetjam5 |
Comments
Log in with itch.io to leave a comment.
Pico-8 multiplayer is cool! I assume that the other players are player ghosts and not live players?
hey thanks for the great comments ! Yep, they are replays rather than live right now - legit recordings though no tweaking going on ;)