Multiplayer framework


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
Oct 01, 2023
FooBar v0.0.5 (macOS) 25 MB
Oct 01, 2023
FooBar v0.0.5 (Linux) 26 MB
Oct 01, 2023
FooBar v0.0.5 (WebGL) 14 MB
Oct 01, 2023

Get Foobar

Leave a comment

Log in with itch.io to leave a comment.