Hey guys,
I am creating a multiplayer-quiz-game. Singleplayer worked.
I built it this way:
MainMenu Class, Game Class (they are both scenes, too. They loadScene each other).
Now I am expanding it to multiplayer.
Therefor, I created an Interface MPLobby (from Main) and MPUpdate(from Game) and a Class MultiplayerCon, which is a singleton and has a public var MPUpdate and public var MPLobby.
At the moment, I am handling events locally for the own events (e.g. calling functions and rendering...
Network-Problem: random var is created with every client, wrong pattern?
I am creating a multiplayer-quiz-game. Singleplayer worked.
I built it this way:
MainMenu Class, Game Class (they are both scenes, too. They loadScene each other).
Now I am expanding it to multiplayer.
Therefor, I created an Interface MPLobby (from Main) and MPUpdate(from Game) and a Class MultiplayerCon, which is a singleton and has a public var MPUpdate and public var MPLobby.
At the moment, I am handling events locally for the own events (e.g. calling functions and rendering...
Network-Problem: random var is created with every client, wrong pattern?