Network Lobby Template by cathalmccosker - 3

Network

Using the NetworkLobbyExample from Unity. This project ripped out the useful P2P code and added network discovery.

Unity 2018.2.2f1Unknown LicenseUpdated 58 days agoCreated on December 27th, 2019
Go to source

NetworkLobby(Template)

Using the NetworkLobbyExample from Unity. This project ripped out the useful P2P code and added network discovery for use in local LAN games.

The game features:

  • Massively stripped down version of Unity’s NetworkLobbyExample
  • Added Network Discovery (the client doesn’t need to input the hosts IP address, it’s done automatically)
  • Enhanced Broadcast Data (updates the number of players waiting in the lobby and broadcasts the hosts IP)
  • Refactored and separated classes that were bloated, used old code and broke SRP
  • Added error handling UI (players cannot join a full lobby, have the same name as an existing lobby or have the same IP address)
  • Added client/host interation (via [Command], [ClientRPC], NetworkBehaviour, SyncVars, SyncList, NetworkIdenity, NetworkTranform, NetworkStartPosition and NetworkAnimator and custom code to update the clients and host)

Acknowledgements

Special thanks go to Unity and their NetworkLobbyExample package (no longer available on the asset store)

Notes

This project was abandoned due to the amount of time taken to code, test and debug as a solo developer, plus Unity will no longer support UNet and Google Play requires a higher API level than the Unity 2018. It was fun though… xD

Youtube

https://www.youtube.com/watch?v=_zOD10Y0xt4

Built With

  • C#
  • Unity
  • UNet
  • Blender
  • Krita
Show all projects by cathalmccosker