Devlogs
Multiplayer framework
FoobarA downloadable game for Windows, macOS, and Linux
The framework of multiplayer is completed with the following components:
- Creating and joining public or private lobbies, with or without password protection.
- Syncing player data, including character selection.
- Remote multiplayer session through Unity Relay and Netcode with GameObjects (NGO).
Lessons learned:
- Test each component separately and thoroughly first to avoid long and unnecessary debugging.
- Network objects should be small and compact to avoid spawning issues with NGO.
- It is a bad idea to do p2p multiplayer with WebGL.
Files
FooBar v0.0.5 (Windows) 28 MB
FooBar v0.0.5 (macOS) 25 MB
FooBar v0.0.5 (Linux) 26 MB
FooBar v0.0.5 (WebGL) 14 MB