To help understand what is the basic requirements when it comes to networking in games, I have to understand how the game connects to the host.
Using this basic flowchart that I have made while testing and trying out a tutorial from Code Monkey basic steps the program goes through. However, that is just an oversimplified flow chart of the process made for people to get an idea of what steps run first in the program.
Going into more detail when the client connects to the host, the host will first add the new client into the game and will create a playable object (this being a prefab that has been set up to take basic inputs to move around and then added to the networking manager script so that the game can understand what object is important and will be used all the time) and then wait for the client's programs input and update their clientside data to sync with the server date then to keep gameplay live with other clients that server date is push back to all clients and the process is continued.
That is how it should mainly ever this tutorial may take too long to implement within my time frame so I will be looking thoroughly into a tool called Photon, This tool will hand all of the back end set-ups to make a server for free and with ease.Â
To help me out with figuring how Photon works ill be going through a video guide by bananadev2 And be making minor changes that follow the direction of our game.