I'm making a text string do a type writer effect. I got the effect to work, but I need it to do the sound effect too. I want the sound effect to play for each letter, and stop playing afterword. Each string of text has a different amount of letters. So how can I make it determine where the end of a paragraph or sentence is?
Also, can I make it not play the sound for spacing, just the text, or would the sound effect have to play for spaces too?
If it helps, this is what I have in my code:
> [Txt Blitter] - Add 1 to 'Value C'
- Value C of [Txt Blitter] >= 2:
> [Txt Blitter] - Add 1 to 'Value A'
> + Change Text: Left$(String$("Text"), Value A("Txt Blitter"))
> + Set 'Value C' to 0