How to move "Current EXP" and "To Next Level" Numbers more to the left on the Status screen?
RPG Maker MV SupportOpen rpg_windows.js with a text editor. Find the function
Save and enjoy.
Window_Status.prototype.drawExpInfo. Change the last two lines of that function to the following:
JavaScript:
this.drawText(value1, x, y + lineHeight * 1, 270, 'left'); //originally the last parameter was 'right'
this.drawText(value2, x, y + lineHeight * 3, 270, 'left');
Your edit of the code seems to be correct. The following is the result I get, which is how you wanted it according to your OP.
If you additionally want to move the whole EXP block more to the left you can insert the following line directly as the first line in the function. Feel free to experiment with different values to see what you like.
If you additionally want to move the whole EXP block more to the left you can insert the following line directly as the first line in the function. Feel free to experiment with different values to see what you like.
JavaScript:
x -= 60;
Yes with the second modification I suggested you will move the whole block (meaning the "current EXP" text, the actual current EXP value, the "to next level" text and the to next level value) to the left by an amount of pixels you specify. In my example I used 60, because this was pretty much the closest I could get before it started overlapping with the HP and MP bars.
If you figure out which plugin messes things up on your end and can link it in this thread, I can take a look and see if we can make the changes compatible.
If you figure out which plugin messes things up on your end and can link it in this thread, I can take a look and see if we can make the changes compatible.
Ah ok, it seems that YEP_CoreEngine.js overwrites the function we changed in the core scripts, rolling back our changes. That is no problem though. Just open the Core Engine, search for the same function and make the same modifications. Then you should be good to go.
Original thread: https://forums.rpgmakerweb.com/threads/how-to-move-current-exp-and-to-next-level-numbers-more-to-the-left-on-the-status-screen.150874/