• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Checking how many characters a string has?

Gasil

Member
Hello, I am using the following snippet:

Code:
if (time < text_length)
{
    time += velocity;
    print = string_copy(text, 0, time);
 
}
To draw the letters of a string one by one on a text box. However, I'd like to give the option to make the text appear in a single frame by pressing the letter E, and then, destroy the obj_text with another E press once every character of the current string has been drawn.

Have you any idea how could I achieve that?

Thanks.
 
Last edited:
Top