• 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!

For a visual novel-ish vibe

L

Lituratesweets

Guest
How do i create the effect of the text box fading in and the text being typed and then it fading out when the player presses a letter/number to progress?
 
As far as the text being typed, you can use string_copy(). You create a variable that tracks how many characters in your typewriter effect is, and increase it by n every step. Then you use string_copy to take everything from the first character (1) to the current typing position:
GML:
var _modifiedString = string_copy(inputString, 1, typingPosition);

draw_text(x, y, _modifiedString);
 
Top