Log In  

Is there a plan to add multiplayer to PICO8 ?

As it is a virtual console, it would be super awesome to have a native way of simply doing lockstep simulation with rewind to cope with network latency, but that means pico8 has to implement it. Ideally just relying on a STUN server, so it works without config on a LAN, and with very simple config on the Internet.

I don't know which category to post it, so if someone who know moves it to the correct one, I'd be glad.

P#119375 2022-10-20 07:03

see what I said in the other thread about scoresub!

P#119390 2022-10-20 16:26

yes, but it's actually not that at all.

Let me see if I can hack something on the pico8 emulators out there... and from there, give ideas to zep & have it natively...

P#119392 2022-10-20 16:42 ( Edited 2022-10-20 16:42)

ah, your post talks about different things, and I reacted to one of them!

multiplayer: we have that, pico-8 games can have up to 8 players.

network multiplayer: not in scope for pico-8; we don’t know of any plans for picotron or voxatron

lockstep simulation rewind: I don’t know anything about that. you describe it as something pico-8 has to do and related to networking, so it would also be out of scope. sorry!

P#119394 2022-10-20 17:02

Exactly.

A very nice corrolary of pico8's awesomeness is that ther's a bunch of pico8 emulators that take care about the runtime. such as fake-08, retro8, tac08 & zepto8.

So, I'm planning to enhance one to do what I meant. But need to find some free time first ...

P#119401 2022-10-20 18:55

don’t forget pemsa!

P#119406 2022-10-20 21:15

@snide did this ever go anywhere?

I desperately wanted simple HTTP GET in PICO-8, mainly for replicating 1980's-style "two player online" gaming. ie Chess, Checkers, Empire, trader wars type games. And online high-scores.

I saw hints somewhere that PICO-8 on the Raspberry Pi could access GPIO, which means it could do "serial" I/O (which meant it could talk to a Python process). But getting from that, to actual messages flying around, is a bit of a lift.

P#144600 2024-03-26 23:22

not exactly: https://www.lexaloffle.com/dl/docs/pico-8_manual.html#GPIO

on a raspberry pi, the gpio memory can interface with hardware
it is in HTML exports that the gpio memory can be used to communicate with javascript code, which can then do anything it wants (such as requests to implement network multiplayer, leaderboards…)
desktop pico-8 can use easier communication channels (stdin, stdout, files): https://www.lexaloffle.com/dl/docs/pico-8_manual.html#Serial – see an example of process communication https://www.lexaloffle.com/bbs/?tid=38732

P#144615 2024-03-27 02:08 ( Edited 2024-03-27 02:09)

I was mostly thinking about running the whole emulator in lockstep, rewinding if needed.

So that the multiplayer is totally transparent to the cart code. The only thing that differs on the various instances of pico-8 are the controller input order. Having a whole console makes it possible at the console level.

More info https://www.gafferongames.com/post/deterministic_lockstep/

But i get that there is no plan for it. And I also do not have free time myself.

Thanks

P#144629 2024-03-27 04:21 ( Edited 2024-03-27 04:23)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 09:55:28 | 0.010s | Q:17