Creating Multiple Game Screens

Greetings,

I am tryin to create a multiplayer room based game which the players can join multiple rooms at same time. Every rooms need to have big space like infinity.

I will create a invidual new tab for every rooms when a player select a room and join in game.

I have a long time experience as desktop software developer. Thats why i’m thinking i need to handle screen as an object to achieve this. Create a new screen as object, place game objects, set scripts and play.

It’s highly possible to interfere rooms each other or possbile to reach to other rooms if i place all of rooms in same screen (i cant set border lines to limit players movements). Thats why i have to draw every rooms individually.

But still i dont have any idea how to create a new game screen and can i show or hide it when user changes the tabs.

Is this possible with Unity without loading scenes in same screen?

Best Regards,

Your logic is pretty good and indeed treating “screens” as objects is a diffuse technique. But sadly (as far as I know) unity isn’t really suited for this kind of logic. You would have to code that yourself, handle the different screens and decide what’s visible and what’s not (maybe give a tag to every object to determine in what screen they should be drawn? And then have a general screen manager that decides what to draw based on what screen the player is in… The possibilities are infinite if you want to invest some time in coding them).

I don’t understand, however, why you can’t use different scenes for different rooms? If that’s because you need to pass over some gameobject to a new room, you can always use DontDestroyOnLoad(GameObject object) so that when you switch scene the object stays there.