Hi. In my project I want to display FHD 1920x1080 pictures unscaled when a player has an FHD display and is in full screen mode. I set the base window size to 1280x720 and when it reaches a 1920x1080 mark during stretching, I want the images to be replaced with an unscaled FHD version.
I have managed to achieve image selection based on window size/full screen mode, but the unscaled loading part is a problem.
What I have already tried:
1) Setting my game window to 1920x1080 and using zoom plugins to zoom maps only, as maps appear be too small with such settings. Unfortunately, all I tried scaled the whole game, including the pictures.
2) Loading the image via PIXI api as a sprite with an explicit scale of (1, 1). Didn't work, the image stayed scaled. Custom scene didn't work either.
3) Loading the image directly via DOM. Well, it kinda worked, but that's not what I want from a game engine. It has poor performance and I won't be able to combine it with other game elements, but at least the image looked like I wanted it to.
So my question is, is it possible to bypass this forced scaling at all? If so, is it at RMMZ/Pixi/NW/browser level, I'm not even sure where to look. I believe this is not the first time this question has been asked here, any existing solutions would be great. Thanks.
I have managed to achieve image selection based on window size/full screen mode, but the unscaled loading part is a problem.
What I have already tried:
1) Setting my game window to 1920x1080 and using zoom plugins to zoom maps only, as maps appear be too small with such settings. Unfortunately, all I tried scaled the whole game, including the pictures.
2) Loading the image via PIXI api as a sprite with an explicit scale of (1, 1). Didn't work, the image stayed scaled. Custom scene didn't work either.
3) Loading the image directly via DOM. Well, it kinda worked, but that's not what I want from a game engine. It has poor performance and I won't be able to combine it with other game elements, but at least the image looked like I wanted it to.
So my question is, is it possible to bypass this forced scaling at all? If so, is it at RMMZ/Pixi/NW/browser level, I'm not even sure where to look. I believe this is not the first time this question has been asked here, any existing solutions would be great. Thanks.