Using scenes vs multiple maps on a single scene

Hi I’ve been working through my project for an RPG game where I’ve currently set up multiple scenes 1 for each map/town/building interior ect.

But just had a thought and wasn’t sure if it’d be worth changing things around at this stage.

Would it actually be better to keep everything on 1 scene (at least merge the scenes where the players can move around in)? not sure if this would impact the performance of the game but it would certainly simplify the events side of the game where currently I’ve had to incorporate a method to transfer the players inventory between scenes.

What is the general opinion on this?

I have a racing game with multiple tracks.

Since the game had the same mechanics for all tracks with slight movement variations (speed, deceleration, slipperiness of the wheels, etc…), I concluded that using one scene and loading every track into that scene would be better.

If the scenes you made share many common mechanics and logic, then I recommend using 1 scene and all maps/buildings could be external layouts loaded into that scene.

If you are planning to do the above, do it now before It’s too late (before your game becomes too big to do all of these changes easily)

Would it be easier to carry all of your food with you
Or take like apple or banana with you while leaving rest in kitchen?

EXACTLY same idea goes around your question

The analogy is good only if you have seemingly infinite capacity in your pockets/backpack, and the extra fruit that you don’t need immediately weighs next to nothing.


This, I think, would be the best approach only because it’s a lot more manageable than a massive area holding multiple maps. It’s a nightmare to move whole levels across because you’ve decided to expand another map. Performance wise I doubt there would be any noticeable difference between the two.

2 Likes

personally i prefer 1 scene as long as you planned a good culling/destroy method for your objects.

like bring with you a cart full of fruits and eat only your banana whenever you want

I assume here we are talking about
FOR EXAMPLE
We have town with many houses
Houses are smaller outside than they are inside
So you can have them all on same exact scene just in different place (i mean house insides)
Or you can put that on separate scene or scenes

Where having them on same scene increase lag for no cause more you have more it needs to process each frame
So you put your food into kitchen and only take what you need when you need it

And that i understood was OP question about
Should we keep all that on same scene or is it better to move it elsewhere

Where of course NOT on same scene

But then comes idea of one scene or multiple scenes
Which was not part of OP question or i missed it
And to that answer would be
Can be one scene but delete everything you do not need
For example delete all other houses insides if they not gonna be used when you change scene to this scene
Where option B better but more problematic would be to have each insides as external layout