You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alexander edited this page Sep 21, 2022
·
1 revision
Example directory contains test multiplayer server & game
This example consists of two parts:
Backend part based on RpcTcpServer. Backend server should keep player's profiles and do actions based on profiles.
Realtime part based on RpcUdpServer. The main purpose is synchronization of battle rooms with player's views & inputs
Notes:
In most cases you DONT need UDP, this example contains realtime UDP part just for showcase purposes. UDP protocol is suitable for a few specific genres of game. Use it only if you know what you're doing.
Client MUST start from init scene, it contains important gameobjects required for initialization
If you need to change something in the server, you have to update client libraries. You can you editor tool Neon/Update server library to publish required assemblies to to /Libs directory
Source code of the example project doesn't contain any high level architecture, it's main purpose to be example of the Neon library