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.

retro dialog

Problem it solves

You want a quick NPC speech bubble or status prompt to appear at a fixed screen coordinate and auto-dismiss after two seconds.

What this block does

Creates an 8-pixel font dialogue text sprite at the given coordinates with an automatic 2000ms lifespan.

The block

Block ID: retro_retro_dialog

retro dialog $text at x $x y $y block

Parameters

NameTypeDefaultMeaning
textstringThe message text to display.
xnumber80Horizontal screen coordinate.
ynumber40Vertical screen coordinate.

Example

Retro.retroDialog("Danger ahead!", 80, 40)

Add the extension

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