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 hit impact

Problem it solves

A heavy weapon strikes a target and you want both an intense camera shake and a brief screen freeze simultaneously.

What this block does

Triggers a camera shake and pauses execution for the same duration to deliver heavy hit feedback.

The block

Block ID: retro_hit_impact

retro hit impact strength $shake freeze $freeze block

Parameters

NameTypeDefaultMeaning
shakenumber5Camera shake pixel intensity.
freezenumber100Duration to shake and freeze in milliseconds.

Example

Retro.retroHitImpact(6, 120)

Add the extension

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