MV Window scaling problems at lower resolutions

First off, hiya! This is my first post here. Second off, I've been dealing with a kinda strange problem that began when I lowered my game's resolution from the default to 640x480. Essentially, the HP/MP values on the mini status screen are cropped off by the smaller window, because there was a type of text padding/spacing that didn't scale very well with the resolution change.

Here's an image of what I mean:

1677282996227.png


I was told that editing the below portion of rpg_windows.js would fix it, but changing it (and other code pertaining to drawActorSimpleStatus) seemingly had no effect on things.

1677283085724.png


I've also tried disabling any plugins may affect menus/windows/etc and nothing changed. Has anyone ever run into something like this before? What can be done about it?
Moved to: Javascript/Plugin Support

How did you change the resolution?
Hi there!

What did you change on the function, that provides no effect? My guess is that you need to change the X coordinate, so it will push the HP/MP to the left.
also as side note, editing the CORE plugins is never a good idea
if you dont know much JS or know what you do.

always alias or overwrite a function in an ew JS and place it in your
plugin folder.

lastly, welcome to the forum 🙂
Moved to: Javascript/Plugin Support

How did you change the resolution?
Oh right, I used the YEP Core Engine's screen width/height parameters. Thanks for moving this, it didn't occur to me that I was asking a somewhat plugin-specific question lol.

Hi there!

What did you change on the function, that provides no effect? My guess is that you need to change the X coordinate, so it will push the HP/MP to the left.
I was able to delete that entire passage of JS without anything changing (I put it back of course), so I suppose something pertaining to the YEP Core like i was talking about above would be overwriting whatever that code is doing..?

(just for funsies, i screencapped the screen showing up as normal with the code completely gone)

1677340548040.png
1677340573244.png
So, if you change the Rpg maker core codes, and nothing changes in-game, probably you have another plugin overwriting this function or even not using it at all. You will need to find that on your plugins and try to play with the X coordinate.
So, if you change the Rpg maker core codes, and nothing changes in-game, probably you have another plugin overwriting this function or even not using it at all. You will need to find that on your plugins and try to play with the X coordinate.
Okay, it was the YEP Core Engine overwriting things. After spending a few minutes tinkering in its JS, I arrived at this:

1677346008133.png


I know it was kind of a simple oversight causing me to have this problem, but I really appreciate the help nonetheless. Thank you 🙂
YEP_CoreEngine improves things, but if you place it in the wrong order,
it also work incorrectly.

make sure YEP plugins has 1 strict order, through the website or by the
plugin in my spoiler ALOE_YEP_PluginOrderChecker.

if you only have a few, most plugins other than YEP goes below the
YEP_CoreEngine for an higher compability.

Original thread: https://forums.rpgmakerweb.com/threads/window-scaling-problems-at-lower-resolutions.155282/