Draw tiles outside of map borders

I'm not sure where to put this, so I'll just try to explain it as best as I can.
In the old Pokemon games (Pokemon Red/Blue/Yellow), maps would have "border tiles" drawn automatically around every map that required it.
Example:
1713701260354.png

(If you noclipped outside of the map, the game would crash as soon as you touched that grass because it's not actually real)

I would like to achieve a similar effect with my game. As it is right now, the game simply renders a black void outside of the map.
Example:
1713701430838.png


Has there been any plugins that recreate this effect? Or is there a way to recreate this effect myself for my game? I understand that I can simply make my maps bigger to simulate the effect, but I would prefer the more technical approach, if it's possible in MV.
Example here:
1713701581175.png
I'm confused. Did you not fill in those black tiles with the grass ones?

Unless there's a plugin doing something weird, you won't need a plugin. Just make your maps with a large enough grass border.
I'm confused. Did you not fill in those black tiles with the grass ones?

Unless there's a plugin doing something weird, you won't need a plugin. Just make your maps with a large enough grass border.
In the bottom image, I made a large map, and filled in the border/inaccessible area with grass.
I'd like to be able to replicate that and have it function automatically with a plugin (+ notetags denoting which tile to use), if such a plugin exists, so that I won't have to create larger maps.
But why, lol?

If you can do it in the editor, there's no reason to get a plugin. No need to reinvent the wheel.
Trid is right. This is definitely something better done in the editor. If you don't like the look of that particular grass autotile around your maps, you can certainly get a different one! But adding the border you want manually when you make the map is far and away the easiest (and probably most elegant) solution.

Depending on your workflow, if you don't want to use the rectangle tools to fill the edges by hand, there's a way to do it very quickly:

1. Create your blank map the size you want your "working" area it to be. Flood it with the ground autotile of your choosing, or build your map right away.

2. Increase the map size by twice the desired width of your inner border (the large shrubs/small trees) in both directions. Shift the map down and to the right by the desired width. Flood the empty border space with the autotile of your choosing.

3. Increase the map size by twice the desired width of your outer border (the tall grass), then Shift the map down and to the right by the desired width. Flood the empty space with the autotile of your choosing.

It might sound like a lot written out, but it's really just three clicks--size, shift, fill.

Unless what you're actually asking for is a way to close the game if the player goes out if bounds?
Trid is right. This is definitely something better done in the editor. If you don't like the look of that particular grass autotile around your maps, you can certainly get a different one! But adding the border you want manually when you make the map is far and away the easiest (and probably most elegant) solution.

Depending on your workflow, if you don't want to use the rectangle tools to fill the edges by hand, there's a way to do it very quickly:

1. Create your blank map the size you want your "working" area it to be. Flood it with the ground autotile of your choosing, or build your map right away.

2. Increase the map size by twice the desired width of your inner border (the large shrubs/small trees) in both directions. Shift the map down and to the right by the desired width. Flood the empty border space with the autotile of your choosing.

3. Increase the map size by twice the desired width of your outer border (the tall grass), then Shift the map down and to the right by the desired width. Flood the empty space with the autotile of your choosing.

It might sound like a lot written out, but it's really just three clicks--size, shift, fill.

Unless what you're actually asking for is a way to close the game if the player goes out if bounds?
Okay, I see. Thanks for the answer! ^^
In the old Pokemon games (Pokemon Red/Blue/Yellow), maps would have "border tiles" drawn automatically around every map that required it.
Just to mention it...I'm not sure why you think that was automatic. Those tiles were surely placed intentionally by the developers, just like every other tile on the map.

Original thread: https://forums.rpgmakerweb.com/threads/draw-tiles-outside-of-map-borders.167940/