Fixed Scale Fullscreen

Hi !
I wrote a simple plugin that makes some changes to how the game window is controlled in MZ:

1. The upscaling mode is set to pixellated instead of smooth (or whatever the default is) to make your game upscale sharper
2. The player can no longer resize the window , this preserves the pixel aspect ratio of your game
3. Fullscreen now ONLY upscales to the closest multiple of your game's native resolution rather than just stretching it out to fit the screen , this also preserves the pixel aspect ratio of your game

A quick demo of points 1 and 3 , Fullscreen without the plugin:
before.png


Fullscreen with the plugin:
after.png



As you can see it's a lot sharper now . This is similar to how OMORI upscales the game (and undertale too I think) so if you want that functionality then this plugin is good for that !

No credit is required for reuse or modification ^^
does this work with mv?
Great, this is the plugin I've been looking for! I found a problem though, it seems to disable the ability to zoom in full screen with the mouse in the upper right corner. I can only use F4 to zoom into the game. This may be confusing to players who are used to starting the game and clicking with the mouse to go to full screen. Also, I'm wondering if I can control the exact zoom ratio? For example, zoom in at 120%. My screen is the default size of 817X625, and full screen may have too much black area if I don't change the window size at all.
THIS IS WHAT I AM LOOKING FOR YEARS

Original thread: https://forums.rpgmakerweb.com/threads/fixed-scale-fullscreen.164445/