SOLVED Problem with Draw Text

K

K4st0r

Guest
Hi! I'm making a Visual Novel on GMS:2 and i have a problem.

Every time I use the draw_text (); in the draw event, it is centered in the middle instead of the upper left corner.

Which is very annoying, because when using the typewriter effect the text is centered and ends up leaving the textbox.

The object that controls the text does not have a sprite nor does it draw any other, so it cannot have a centered sprite and therefore it is centered.

If anyone knows what it could be or anything let me know, please!

Game Maker Studio 2.2.5.481
 
Sounds like something set the h/valign to centered and you haven't set it back to the left. Look into draw_set_h/valign() and reset them when necessary.
 
Top