How to sync objects in predefined Scene (scenario)
Options
Hi again,
I'm working on a multiplayer game with the following setup:
* the scene contains several playable characters and vehicles that are placed in specific positions in the scene (predefined scenario)
* a master client opens a room
* further clients can join at any time
I'm currently trying to get an idea of how to usw PUN2 for that (I'm new to working with PUN2). Since I have a scene which contains the networking objects, I can't use
An idea might be to have a "Server Scene", which contains the whole scene, and a "Client scene", which contains only static objects. The dynamic objects have to be send e.g. with
Any idea is appreciated!
KayJ
I'm working on a multiplayer game with the following setup:
* the scene contains several playable characters and vehicles that are placed in specific positions in the scene (predefined scenario)
* a master client opens a room
* further clients can join at any time
I'm currently trying to get an idea of how to usw PUN2 for that (I'm new to working with PUN2). Since I have a scene which contains the networking objects, I can't use
PhotonNetwork.Instantiateto make use of automatic synchronization. What is the best approach to synch these objects?
An idea might be to have a "Server Scene", which contains the whole scene, and a "Client scene", which contains only static objects. The dynamic objects have to be send e.g. with
[PunRPC]from the server to the client. With that approach PUN won't help much since I have to reimplement lots of stuff, which comes with PUN2...
Any idea is appreciated!
KayJ
0