Hi all. Been out of the loop for a while but had a prototype I wanted to whip up and thought maybe Monkey could do it. However I need some simple multiplayer networking, local only. Doesn’t need discovery, lobbies or any of that stuff. Just peer to peer LAN.
Is there anything available? Doesn’t look like Pyro does it from what I could see.
Doesn’t look like there’s any modules built from scratch for it! But you could certainly do it in Monkey2 without too much hassle!
All you got to do is do a combination of UDP to start and then TCP, or just UDP.
1. Create a UDP broadcast from the host that will tell everyone they’re a host over LAN.
2. Clients will listen for the broadcast.
3. Once you catch the hosts address you can connect to that address now over TCP.
4. Once room conditions are met just follow typical game protocols over TCP on LAN.
You could get a decent feel for making multiplayer in Monkey2 through one of the Bananas! I’m currently in the process of making a multiplayer game that’s a Server-Client architecture using Go+Monkey2 and that’s been mostly painless!