is there a plan to add built in pico8 multiplayer using synced inputs?
basically it would be handled in pico8 rather than the cart.
it would allow players to connect to each other via ip or game uid and official lexaloffle connecting servers through the pause menu.
this might be the easiest way to build a multiplayer game since there would be no packets being sent besides the hard coded inputs.
networked inputs would be accessible the same way normal inputs are with btn(btn, player).
this would also make multiplayer games have not just networked players but local ones as well.
players count would be limited to the number of inputs pico8 has.
I've wanted this, but I did not know how to word it except:
repeat cls() print(conversation) input(add to conversation) until forever
With a chat system as a test, it should be possible to have multi-players like that slither.io game where everyone is playing at once.
yes but it would still be nice to have a simpler method like this, and I want to run this on raspberry pi.
what do you mean? it would be the same as having 4 local players states which would always be the same because 1 if a player presses the a button to fire then it would be synced on all clients and all clients would spawn the same projectile.
the only problem would be random stuff which could could somehow be hardcodedly synced as well.
gamestate relies on 2 things input and random functions
which if both synced it would simulate online multiplayer.
just look at networked emulators for snes and n64 the games were not build for networked multiplayer but since the inputs are syned and a few other things that gamestate relies on and boom you have online multiplayer.
[Please log in to post a comment]