How can I change the SPACING of wrapped text in a draw GUI event?

So I was on the Gamemaker Discord with the support of a user named 'tfg' and a tutorial by FriendlyCosmonaut on YouTube, I am in the process of making a textbox mechanism similar to UNDERTALE's. It draws the textbox itself, it draws the text, along with its desired font, and it even wraps the test like how you'd expect. The problem however is that when the text gets wrapped, the spacing is a lot less preferred and does not look that very authentic.

1615761531200.png

As you can see, I AM VERY CLOSE! I only need to know how to manipulate how spaced out the wrapped text is.
If you need to see any other piece of code I have, then please message me.
 

gnysek

Member
There's no way with GMS2 default functionality.

You need to draw letter by letter, manually adding on x and y axes according to font with (except font is monospaced, then you can use constant width).


A bit hacky way would be to make a sprite font, and force bigger sepratation there.
 
Upon side-to-side comparison, they are pretty much at the exact same scale of spacing. I just wanted to check the dimensions with them side to side and I'm relieved to know they they are exactly the same.
 
Top