Multiple "maps" on a larger map - minimum space needed between

I apologize if this isn't in the right area of the Forums to ask this.

As the thread title infers, I want to put multiple "maps" on a larger map and I don't know how much minimum space is needed between the maps so the player can't see what they aren't supposed to.

I know I can test this and I have, but I don't know if it is changed by the resolution of the game or the monitor size that the player is using.

As an example. I want to put the interiors of all my Inns on a single map. Or all the interiors of my houses in a specific village. Or all the interiors of all my shops. So all of those interior maps of the same type or area are in one big map.

So one map might have the interiors of 10 Inns, including multiple levels of those Inns.

The player shouldn't see anything beyond the interior of the "map" they are on so the interior "maps" are surrounded by black tiles.

Of course, the player shouldn't be able to see any other interior "map" from the interior "map" that they are in.

I just didn't know if monitor size or resolution of the game might change how far apart I needed to place those separate "maps" on the larger map.

Thanks for any clarification you can provide!
As the thread title infers
Implies 😉 The person listening/reading infers something. Although in this case neither implying nor inferring is needed, you said it explicitly 🙂 But anyway!

I don't know if it is changed by the resolution of the game or the monitor size that the player is using.
Yes, that's partially correct. The pixels on your map are pixels on the monitor. So whatever you define for the game's resolution determines how many pixels are visible. The user's monitor size is irrelevant.

As an example, the default settings for MZ are 48x48 tiles and a 816x624 resolution. If you type into your calculator 816/48 that's 17 tiles visible horizontally and 624/48 = 13 tiles visible vertically.

If you've changed the tile size or resolution, just do the math for those numbers. That tells you how much empty space you need between your interiors.
@ATT_Turan Thanks for that explanation!

So as long as your game doesn't allow for selecting different resolutions, you can use the simple math you described above.

I am using the default settings so it looks like 8 black tiles between maps (horizontally) is safe.

I just checked using a test map I had already created. I just wasn't sure about the resolution or monitor size part.

Thanks again!
Like @ATT_Turan said, the only thing that matters is the game resolution. Monitor size doesn't matter, and it doesn't matter if the player resizes the window.

However, I've gotta ask: Why would you want to organize your maps this way? When I try to think of the pros and cons, I mostly just come up with cons (with some of them being pretty substantial cons). I'm not saying that you're doing it "wrong"; I'm just legitimately curious.
@Arthran Thanks for your reply!

I wasn’t planning on doing it for all the maps. I saw a tutorial that had multiple house interiors in the same village on the same map and I thought it might be a good way to see/copy different interiors as I go without jumping from map to map to compare.

I was also experimenting with using some random map selection so the player wouldn‘t always get the same path in different games.

I tested this by making 4 paths that are significantly different. The player would have a 1 in 4 chance of getting any particular path when they first proceed in that direction. Making the paths side by side on one map seemed like it might be a good idea.

Not sure if that makes since and I might figure out it is a terrible idea once I get farther along with map making.

If you see any complications with doing this, from your experience, please let me know what those might be.

Thanks again!
However, I've gotta ask: Why would you want to organize your maps this way? When I try to think of the pros and cons, I mostly just come up with cons (with some of them being pretty substantial cons). I'm not saying that you're doing it "wrong"; I'm just legitimately curious.
I've done this before, where I'd have a town's interiors all on one map. Of course, that was when I was using RM FES and had limited map numbers to work with.
@ZombieKidzRule
No problem. I kinda understand your reasoning now. I'll list some of the potential cons that come to mind, so you can kinda judge whether or not they'll be applicable to your situation and/or important enough to worry about.

In no particular order:
  • From a performance standpoint, it's inefficient. You'll be loading a massive map, possibly with tons of events on it, just to display one interior room. This issue can be compounded with the use of certain plugins, as those plugins might be preloading assets or interacting with events and such that aren't even important for the current map. You should be especially considerate about stuff like this if you intend to release to web or mobile. As a web game, it would waste people's data/bandwith to constantly download a mega-map every time the player wants to enter a tiny room. And mobile devices have very limited RAM and processing power to work with, so it's best not to be wasteful if you can avoid it.
  • It can make it harder to go back and edit maps later on. At some point in the future, you might want to expand the size of a certain interior map. But if that map is sandwiched in-between a bunch of other maps, that'll be a pain in the butt, because then you've gotta shift every other map around too. Then you'd also have to go back and edit every transfer event that leads to any of the affected rooms, to account for the new coordinates of the entrances, which would be a mega pain in the butt.
  • Seems to me that it could be an organizational nightmare. If it's all on one map, can you guarantee that you will still remember which interior belongs to which building two years from now? If you need to edit something later, I think it'd be easier to find a specific room, and/or know what you're looking at at a glance, if each map is separately labeled and properly grouped in the little tree-view map list thingy. This type of thing is especially important if you ever work in a team.
  • You might want to use a parallel or autorun event on just one map. But if that map is inside a big mega-map, then your parallel/autorun event would apply to all the other maps too. You'd have to either go through some additional hassle to get it to only trigger when you want it to, or you'd have to separate that map from the mega-map (which creates organizational inconsistency that kinda compounds the issue mentioned in the previous point).
  • Each map in the group would have to have the same BGM, battleback, parallax background, etc.
  • You'd have to be a little extra careful when using things like lighting plugins or camera control plugins.
@Arthran Thanks for taking the time to provide those thoughts! Those are all excellent points!

I will have to ponder this more, but it sound like having multiple small maps on a larger map may not have sufficient added value compared to the challenges.

Thanks again!
Just to put it out there - if the ease of seeing maps at the same time is part of your desire, you can open two instances of MZ. Have a different map open in each one. You can copy and paste between them freely.
Just to put it out there - if the ease of seeing maps at the same time is part of your desire, you can open two instances of MZ. Have a different map open in each one. You can copy and paste between them freely.
Thanks! I am definitely going to have to do that since I have been building things, recreating tutorials, and experimenting in different games and I will definitely want to copy and paste to a new fresh game.

Original thread: https://forums.rpgmakerweb.com/threads/multiple-maps-on-a-larger-map-minimum-space-needed-between.153332/