jcruise

Villager
Member
Joined
May 4, 2020
Messages
13
Reaction score
5
First Language
English
Primarily Uses
RMMV
Hello. My game features a character creation screen, and on this screen I'm using a script call to draw a custom window which displays some basic information about the character.

My code currently looks like this:

JavaScript:
var window = new Window_Base(288, 133, 336, 214);
window.opacity = 0;
window.drawTextEx("\\fs[35]\\n[1]\n\\v[1]\n\\an[1]\n\\ac[1]", 0, 0);
SceneManager._scene.addWindow(window);

This works well, but I need to adjust the line height so that the text fits better in the window its displayed in. If you look at this screenshot, you'll see what I mean. The circled red text doesn't quite fit right with the default line spacing:

menu.PNG

I've tried inserting a "Window.lineHeight = 48;" line, as you can see below, but it doesn't work:

lineheight.PNG

Is there a simple way I can change the line height for this window? And, just to clarify, I only want to change the line height for this one specific window and nothing else.
 

Latest Threads

Latest Profile Posts

energy drinks have made this week SUPER productive so far lol. I finished one of my overworld maps, along with 2 other maps and a way to traverse to said overworld map.
i am absolutely DRAGGING MYSELF RIGHT NOW, i bought a commission ($35) back in october, got the art back, it was great, only to NOW realize i never DOWNLOADED it to my computer, and the site i used auto-deletes uploads after 3 months. Now i'm panicking cuz she closed all her commissions on that site & deleted her IG and Facebook, luckily I found her g-mail but who knows if she'll respond :kaocry: pray for me ya'll
Sigh...I can do everything I need for this game but make actual sprites and tile maps for it. Guess I'll look into hiring someone for that
Goes looking for assets, ends up creating memes. I have priorities?
i'm working on finishing an old game in vx ace (the first game i tried to make in vx ace), and it's making me realize how many things i've come to take for granted in mv (like the additional BCDE tile layer and the plugin manager).

Forum statistics

Threads
109,028
Messages
1,041,365
Members
141,499
Latest member
kanyatanishande
Top