Excellent plugin! Thanks so much!
I DO have a question about adjusting some y values.
As you can see below, I'm using escape codes to color the cost value and cost type, which also affect the font type being displayed. However, since they're different fonts (and sizes), their line heights are drastically different from each other.
Is there a way I would be able to adjust the y value of the cost and type individually to line 'em up nicely? A snippet that I could insert in the .js somewhere? I've definitely tried a number of ways, but to no avail.
Thanks for any help!
Hi there!
It is a little complicated I guess. Basically, this function, and the other ones inside, draws the skill cost:
The first one is the default from RPG Maker Code. The other ones I made for my plugin. You would need to find a way to split the cost and type, so you could change the Y coordinate of one of them to align with each other.
On the screenshot below, the const "text" is holding all the skill cost and type text:
You could instead, split that text to separate the cost and the type, and call two drawTextEx with different Y coordinates.
Either way, you gonna need some trial and error depending on how you created the cost text on the plugin parameter.
I guess the best answer would be instead of changing the code, you adjust your font so they work better with each other.