7 - Where to go Next
Overview
This 100 series has covered several of the basic concepts used by Fusion, but there is a lot more under the hood. Fusion has components and features to solve almost any network related problem multiplayer games run into, but not everything is relevant for all types of games.
After the fusion 100 series the recommendation is to read the manual and dive into more samples. Some of the more advanced topics are listed below.
Samples
There are various samples available for Fusion which are split into two categories:
- Game Samples focus on gameplay development. They generally showcase a particular core gameloop.
- Technical Samples focus on technical implementation patterns involving Unity and Fusion for multiplayer game development.
After the Fusion100 series it is recommended to move on to either:
- Fusion Asteroids (available in both Shared Mode and Host Mode version); or,
- Dragonhunters VR.
Shared and Server Mode
As an alternative to the hosted mode discussed in this 100 series, Fusion also supports other network topologies, like shared mode where clients share state authority of objects and there is no single host that "owns" the world.
Lag Compensation
In fast-paced shooters, strict server authority introduces a problem because the world seen by the server is not exactly the same as the view on any given client.
A client may very well have an enemy dead center in his crosshairs when firing a shot, but by the time the server validates the shot, things have changed.
Some network designs solve this by letting the client make the hit decision, but that introduces a high risk of cheating.
Instead, Fusion supports lag compensated raycasts which essentially allow the server to do a raycast from the perspective of a given client.
Area of Interest
In large world games with many players, network usage can be optimized by not sharing everything with everybody all the time.
Specifically, Fusion allows the game to assign several areas of interest for the player to exclude changes in network state occuring outside of these areas.
Prebuilt Components
Fusion 100 only covers a few of the pre-built components that come with Fusion - specifically the NetworkTransform
and the NetworkRigidbody3D
, but Fusion has a lot more ready-to-use components available.