W
whale_cancer
Guest
Er, so that title is a mouthful.
Basically, I am using this - along with increment char_count by 1 every step - to display text; that is, to have the text display one character at a time:
However, when a word is being written out near the end of a line, it will jump to the next line once it is long enough that it won't fit on the line it started out on. This kind of jitter is annoying. Any established ways to do this?
I had a really convoluted way of doing this in an old project, but I'm thinking this is a common enough thing that a best approach has already been established.
Basically, I am using this - along with increment char_count by 1 every step - to display text; that is, to have the text display one character at a time:
Code:
draw_sprite_ext(sprite_index, image_index, x, y, 2, 2, 0, c_white, 1);
display_message = string_copy(message, 0, char_count);
draw_text_ext(x + 40, y, display_message, 8, 128 + 64);
I had a really convoluted way of doing this in an old project, but I'm thinking this is a common enough thing that a best approach has already been established.