typewriter effect / refresh at new paragraph

Hello everyone,

I’ve been following a few tutorials to create self-typing text (typewriter-style), using a Text DAT, a Timer CHOP, and a Text CHOP. Everything works well so far, but my current setup only lets me display a single block of text.

What I’d like to do is go a bit further: ideally, I’d love for the text to reset whenever it reaches a separator (for example ---), then start typing out the next paragraph letter by letter, just like an RPG dialogue box.

I’ve tried a few things on my own, but I haven’t been able to get it working yet. My Python level is still pretty low — I’m learning slowly, but I’m definitely not comfortable enough yet to build this kind of system from scratch.

For context, my goal is to create something similar to a retro RPG text box at the bottom of my drawings.

I’d be really curious to hear how more experienced TouchDesigner users would approach this kind of setup.

Thanks a lot!

so… nobody :sweat_smile:

Hi,

Here is an example of how i did it some times ago for an installation.

Hope this helps

typeWriting.zip (3.8 KB)

1 Like

thanks, I’ll dive into this rn !

also, if anyone’s interested by my niche little question, i somehow managed to do it by myself :sweat_smile:.
the trickiest part was the changing // refreshing paragraph thing, at least for my low level skills.

FYI: it’s not very useful for a forum to only post that you found the solution to the question you posted - it’s good forum etiquette to then post the answer as well - so future readers & knowledge seekers can learn something from this thread…

Sorry — I meant to share the comp here earlier, but I ran out of time. I also added a few small random audio triggers each time a new letter appears, to mimic that lo-fi RPG speech effect. It’s probably a bit messy since I’m still pretty new to TouchDesigner, but I’m sharing the file here in case it might be useful to someone down the line.

text_rpg1.tox (20.4 KB)

1 Like