Examples - BeardedManStudios/ForgeNetworkingRemastered GitHub Wiki

Directory Next
[Directory]] ](/BeardedManStudios/ForgeNetworkingRemastered/wiki/[[Chat-Example)

Chat Example

This is the most basic example and a great starting place for new developers to Forge Networking. It will go over a program for sending messages between 2 (or more) connected machines.

Spawning Example

This example shows how a developer can go about spawning objects so that other connected machines are able to spawn and identify the same objects.

Complex Example

The complex example shows many key concepts and will require more exploration of the code in order to better understand how all the network messages work. Below is a list of key features of the complex example:

  • Spawning proxy players
  • Changing scenes over the network
  • Real time view of other player's camera
  • Simple interpolated character controller
  • In scene network objects, even when changing between scenes
  • Persistent network objects between scenes (player characters)
  • Spawning of non-networked objects over the network

Directory Next
[Directory]] ](/BeardedManStudios/ForgeNetworkingRemastered/wiki/[[Chat-Example)