I
InsetCoffee
Guest
how do you put sound with text, for example if I want to have a sound that played with each letter?
LOL, nice recoveryok let it be noted I'm new to coding so define one letter at a time.
I've heard of it but never played it, but I know what a typewriter effect isI thick what I want is one letter at a time. do you know a game call Undertale?
text = "how do you put sound with text, for example if I want to have a sound that played with each letter?";
ctr = 0;
box_width = 480;
if ctr <= string_length(text)
{
if string_copy(text,ctr,1) !=" " {sound_play(snd_text);}
ctr+=1;
}
draw_text_ext(x,y,string_copy(text,1,ctr),-1,box_width);