MakeCode Games!

A fan-made community library of MakeCode Arcade games. Visit MakeCode Arcade to make a game!

← Back to extensions

Retro FX

Add juicy 8-bit sound synthesizers, screen shakes, particle explosions, camera effects, and retro text displays to your games.

typewriter text

Problem it solves

You want a story cutscene caption to print out letter by letter at a specific position on screen.

What this block does

Renders text letter-by-letter with a pause between each character, and optionally destroys the text after a duration.

The block

Block ID: retro_type_writer

typewriter text $text pause per letter $pausePerCharacter at x $x y $y|| destroy after $destroyAfter block

Parameters

NameTypeDefaultMeaning
textstringThe text to type out.
pausePerCharacternumber50Delay between each letter in milliseconds.
xnumber80X screen coordinate for the text.
ynumber60Y screen coordinate for the text.
destroyAfternumber2000Optional duration after which the text sprite is destroyed.

Example

Retro.typewriterText("Stage 1: The Ruins", 60, 80, 40, 2500)

Add the extension

Add github:CrzLe0723/RetroFx to your project, or open: Import RetroFx.