Fullscreen blur resolution fix (?)

Greetings!
I'm developing a game that uses Galvs message busts and bind picture to map plugins, I noticed that when I move to full screen resolution the images are slightly blurred with "stretching", is there any way around this?
I've tried this plugin but it didn't work!
JavaScript:
ImageManager.loadBitmap = function(folder, filename, hue, smooth) {
    if (filename) {
        var path = folder + encodeURIComponent(filename) + '.png';
        var bitmap = this.loadNormalBitmap(path, hue || 0);
        //console.log("disabling smoothing for "+path);   
        bitmap.smooth = false; return bitmap;
    } else {
        return this.loadEmptyBitmap();
    }
};

Any help is welcome.
The only resolution I’ve found that doesn’t blur in fullscreen is 1280 : 720. I don’t know why that is. Maybe it has something to do with my pc but I doubt it. I’ve tried using every blur fix I can find and nothing worked except changing to that resolution.
If you just use Show Picture and disable the plugin, does it still blur?

I think anything is going to blur when you go fullscreen, unless the aspect ratio of your game is the same as that on the screen, and in that case, it's only on YOUR monitor that it would work - someone else playing your game on their own monitor would still have the problem.
If you just use Show Picture and disable the plugin, does it still blur?

I think anything is going to blur when you go fullscreen, unless the aspect ratio of your game is the same as that on the screen, and in that case, it's only on YOUR monitor that it would work - someone else playing your game on their own monitor would still have the problem.
I hope I’m not hijacking the thread but since you’re here Shaz and you’re clearly well versed in RMMV, could you shed some light on the fullscreen blur problem and why 1280 : 720 seems to be the only resolution that doesn’t blur?
No I'm sorry - I don't know why. Maybe it has something to do with it being a 16:9 ratio and that's what a lot of widescreen monitors are as well? So the distortion is equal in both directions.
The only resolution I’ve found that doesn’t blur in fullscreen is 1280 : 720. I don’t know why that is. Maybe it has something to do with my pc but I doubt it. I’ve tried using every blur fix I can find and nothing worked except changing to that resolution.
Yeah I noticed that, too bad that I already have 2/3 of the backgrounds of the game done so they all appear too small in a high definition such as 1280 : 720 🙁
I'm sticking with 1140 : 640 for now because that's a mid-term resolution that I found to preserve details without making my images too small.

If you just use Show Picture and disable the plugin, does it still blur?

I think anything is going to blur when you go fullscreen, unless the aspect ratio of your game is the same as that on the screen, and in that case, it's only on YOUR monitor that it would work - someone else playing your game on their own monitor would still have the problem.
Yes, it does!
I think you're right, that blur is inerent of rmmv while "stretching" at full screen. That being said, would you know some plugin that adjust the game aspect ratio to the monitor ratio?
I'm sticking with 1140 : 640 for now
When you divide 1140 and 640 by 48, it's a fraction. I don't know if it causes blurring but it causes the screen to jitter when using tilesets (your game appears to use parallax so that problem doesn't exist) Maybe try a resolution like 1104 x 624?
Also, you could try adding the script to your index.html file. It makes my game a LOT sharper (even pictures are sharpened. Don't really like that) Just noticed I have SumRndmDde's Game upgrade installed. Maybe that's what's sharpening everything... I don't really know which one is responsible for that but you can try it just in case.
put this in the body section:
Spoiler
<script>
ImageManager.loadBitmap = function(folder, filename, hue, smooth) {
if (filename) {
var path = folder + encodeURIComponent(filename) + '.png';
var bitmap = this.loadNormalBitmap(path, hue || 0);
//console.log("disabling smoothing for " + path);
bitmap.smooth = false;
return bitmap;
} else {
return this.loadEmptyBitmap();
}
};
</script>
If you change your resolution to an aspect ratio of 16:9 it should stop the stretching. 1136 : 639 is a 16:9 ratio and is so close to your current resolution that it shouldn't effect your game. You should try that out and let us know if it helps.

Very nice artwork by the way.
that blur is inerent of rmmv while "stretching" at full screen
It's actually got nothing to do with MV at all.

If you make an image that's the same size as your game window and save it, then open it in an image viewing program and zoom in so the image fills the screen, the image will be blurry.
It's actually got nothing to do with MV at all.

If you make an image that's the same size as your game window and save it, then open it in an image viewing program and zoom in so the image fills the screen, the image will be blurry.
So I believe what Shaz is saying is that you need your image to be the same resolution or larger than your fullscreen resolution to prevent blurring.
Try running this script line in a call script command, just to check if it makes a difference:
Code:
Graphics._canvas.style.imageRendering = 'pixelated';
(Is this thread hijacking? Sorry if it is TT)
@Hudell That's a really good fix! But for the map. Any way to make it so that pictures don't get affected though?
(Is this thread hijacking? Sorry if it is TT)
@Hudell That's a really good fix! But for the map. Any way to make it so that pictures don't get affected though?
You mean smooth pictures but everything else pixelated?
Yes!
I'm not sure if it's possible, because when using fullscreen the game still renders everything on the same resolution and then just stretches the final result, where everything is already merged into a single picture.

Maybe webgl is smart enough to have something to handle that, but it would need someone more experienced with it to know.
Woah, thanks for all the support, guyst!
I pretty much solved the problem by adjusting to the new 16:9 ratio

Also, you could try adding the script to your index.html file. It makes my game a LOT sharper (even pictures are sharpened. Don't really like that) Just noticed I have SumRndmDde's Game upgrade installed. Maybe that's what's sharpening everything... I don't really know which one is responsible for that but you can try it just in case.
put this in the body section:

Thanks for the tips, I actually use Yep_core.js which is very similar to that plugin you mentioned!
I also put the script on index.html body, although I already tried that same code as a plugin, which pixelated the game the first time.

If you change your resolution to an aspect ratio of 16:9 it should stop the stretching. 1136 : 639 is a 16:9 ratio and is so close to your current resolution that it shouldn't effect your game. You should try that out and let us know if it helps.

I'm now using 1136 : 639, it surely helped to reduce the blur, thanks a lot 😀

Very nice artwork by the way.

Thank you, I'm indeed very lucky to be working with amazing artists!

It's actually got nothing to do with MV at all.

If you make an image that's the same size as your game window and save it, then open it in an image viewing program and zoom in so the image fills the screen, the image will be blurry.
It was indeed a misconception, I was reading this by the time I answered your message but it's not the case of my game lol


Try running this script line in a call script command, just to check if it makes a difference:
Code:
Graphics._canvas.style.imageRendering = 'pixelated';
Yeah, that pixelated the graphics, lol. (image below)
(Is this thread hijacking? Sorry if it is TT)
Yes, it is. Next time, please start a new thread.
Found a way to fix this blur issue ^^
Edit: Updated post:

1. Get SRD_GameUpgrade and Get YEP_CoreEngine. Place them in this order:
1599019357396.png


2. Set up SRD_GameUpgrade like this:
1599019105334.png

Leave everything else as is.
2. Set up YEP_CoreEngine like this:
1599019243535.png

Your game will look a bit small because of the changed screen resolution. You can use a map zoom plugin to scale it to your desired size. I suggest SRD_CameraCore as it has an option to keep images at their original size.
Fantastic work. I’ll have to try this out soon. I just want to note for anyone reading this that using a zoom plugin to permanently make your game larger will break touch and mouse movement because the game will register the location of the touch based on the pre zoomed map making the touch inaccurate. Keyboard and gamepad movement still works fine though.
Found a way to fix this blur issue ^^
Edit: Updated post:

1. Get SRD_GameUpgrade and Get YEP_CoreEngine. Place them in this order:
View attachment 158964

2. Set up SRD_GameUpgrade like this:
View attachment 158962
Leave everything else as is.
2. Set up YEP_CoreEngine like this:
View attachment 158963
Your game will look a bit small because of the changed screen resolution. You can use a map zoom plugin to scale it to your desired size. I suggest SRD_CameraCore as it has an option to keep images at their original size.
I don't know if it's because of my tall sprites or what, but this zoom js breaks the characters' graphics 🙁
But thanks for the suggestion!

Original thread: https://forums.rpgmakerweb.com/threads/fullscreen-blur-resolution-fix.126074/