I know the title isn’t very descriptive but it seems quite hard to sum up what i need to say without going into too much detail. Anyway, what I want to have is a Clash of Clans/Boom Beach etc. type of game where you can construct an area (City, Island etc.) and then go to someone else’s to attack it. My problem is that I don’t know how to store an area to a local player and then have that area be viewed and interacted with by a different player. My only idea is to create multiple different scenes for each player’s area but I know that would involve too much storage. Does anyone have any ideas or ways to point me in the right direction.
Depending what Networking technique you are using - I know for example Photon, has ways you can instantiate network objects and have them left in the game world, or be deleted when the player leaves, etc and so long as they have a PhotonView and are spawned by said player, they are considered owned by said player, so they can go away from their objects, and it could be a battle scene (which exists on the server) and their hometown scene (which exists locally), however you are going to do the interaction where it shows a list of players online or whatever, they click a name and they are loaded in a blank scene, that will spawn said players objects/progression to attack, when that attacking player leaves the scene and goes back to the server, their damage is saved into one of the objects/scripts that control that players progression, which is technically saved over the network, that said player goes back to his local hometown scene and half his city would then be destroyed once the scene script updates everything that happened over the network and stayed, waiting for them to view it