Need help adding a decorative border to the entire game when in fullscreen

Hi, this is my first real post asking for advice so hopefully I put this in the right spot!

I am trying to make a gameboy style game, and I want the game to have a super gameboy-style border when you fullscreen. Preferably, when the game is in it's default windowed-mode size it would not have the border, it would only appear when in full screen, but I am also okay with it appearing all the time.

Things I have tried so far:
  • Adding a permanent overlay with a plugin. This almost works (although it will always appear, even in windowed mode), but I can't figure out how to prevent the player from walking underneath the border and out of the camera's view. This method would maybe work if I could figure out how to prevent this, although I have a feeling that other issues will arise later if I do it like this anyways.
  • Adding an image to the black borders in full screen. This would actually be perfect if it weren't for the fact that it is a completely different size than a traditional super gameboy background. The screen size of the gameboy is 160 x 144 pixels, and including a super gameboy border it is 256 x 224, and I've been upping the scale by factors of 3. When in full screen, the game resizes to match the height of the screen, leaving two black bars on the side. This isn't the right shape for what I'm looking for. And to clarify, I do not care that there will still be some black bars on the sides if I do this successfully. I understand that the negative space is an inherent part of RPG Maker's aspect ratio, I'm just trying to figure out how/if it can be manipulated to achieve the effect I want.
I think method two would work best if I could adjust the size and position of the game itself to leave more space on the top and bottom. To get a better idea of what I'm trying to do, here's what it currently looks like compared to a mockup of what I would like it to look like.

Current windowed default (showing my desktop feels like I'm bearing my soul for the world to see, lol):
ex1.png


Current fullscreen default
ex 2.png


Desired fullscreen (the astro boy border is a placeholder to test, not the final border obvs.):
ex 3 mockup.png


Thank you to anyone who can help, and if I put this in the wrong board then please let me know where it should go! :]
I'm 99% sure that the "black border" is filled with background if you set parallel picture for the map, so try to put the border there and set it for every map 😉
I tested it, since I'm looking for this kind of frame too.

It works, if your map is smaller than the screen width/height set for the project. The parallax background will be cropped outside of these boundaries. If you have a bigger map with scrolling, you won't see any of the background.

Maybe it'll work for the OP, but for my case, it won't, since I have maps in various sizes.

@ OP:
You can configure the black background in the index.html of your project.

Per default it's like this, and you can change the color.
HTML:
    <body style="background-color: black">
        <script type="text/javascript" src="js/main.js"></script>
    </body>

But you can also swap to a background image. Like this.
HTML:
    <body style="background-image: url('./img/system/FullscreenBackground.png')">
        <script type="text/javascript" src="js/main.js"></script>
    </body>

But unfortunately it won't work as intended, since it scales with your game resolution. So, it won't fit into a frame like your example. But you can have a look and see if it'll work for you. I gave up eventually.
Unfortunately @fizzly is wrong.

@KitCat1221 Your original "black borders" happen when the game's screen size has either the wrong aspect ratio to your monitor or if your screen size does not fill up a regular windows screen size.

In both cases the black frame is created by the display card/chip and NOT Windows itself.
Some display cards have functions to fill that with something else, but those options are different for most display cards. Which means it is beyond your capacity to change that for every computer as you would have to find the correct code for everyone's display card - and that ignores the fact that a lot of display cards (especially the cheaper ones) do not have those functions.

What is possible is to create a frame inside the game's screen size as that is the area you can control.
but even that is anything but easy, because you would first have to disable the default fullscreen, then add a menu where the player can choose different screen sizes. And then you would have to usedifferent frame pictures with different movement limits to limit the player to the central area of the changed screen.
Yeah, @Andar, you're right. Sorry for misleading. Just checked that to make sure.

Original thread: https://forums.rpgmakerweb.com/threads/need-help-adding-a-decorative-border-to-the-entire-game-when-in-fullscreen.172514/