Typewriter Dialogue & Text Boxes
📌 What you will learn
Reveal story text letter by letter using "join" and "letter (i) of (text)" for RPG-style conversations.
Core approach
Loop i from 1 to length of sentence, appending one letter per tick into a "shown_text" variable with a subtle blip sound.
- Allow pressing Space to skip directly to the full line.
- Wait for Space release before advancing to the next line.
- Wrap in a custom block "Speak Line (text)" so writing stories is fast.
Pro tip & next steps
Add a tiny 0.03s wait per letter for crisp classic RPG pacing.
FAQ
What is the best first step for "Typewriter Dialogue & Text Boxes"?
Allow pressing Space to skip directly to the full line. Add a tiny 0.03s wait per letter for crisp classic RPG pacing.
This guide is provided for educational purposes. Scratch screens and terms may change over time, so please check the official Scratch website as well.