How to have multiplayer?

i have a game thats similar to mario party but im trying to figure out how to get a web socket with a party system for friends to play with you online with a code to work

btw multiplayer is actually possible for how simple the game is, it just receives inputs from the person on the other side and processes it. I just don’t know how to do it or where to start though, are there any online websites to host them?

1 Like

there was a guide made a while back on multiplayer: Online multiplayer code

unfortunately the replit links have died, so the server code is inaccessible… there are some visible snippets of code but you’ll have to do a bit of extra work to piece things together. (i think replit went and deleted a bunch of unused accounts, which is a shame because my own multiplayer code was there too… oh well).

the guide above was based on this demo (Working multiplayer test), which links to a series of articles about implementing multiplayer. it’s all conceptual and doesn’t show code but it might come in useful.