countdown
Problem it solves
You are making a mini-game where the player must collect 10 stars before time runs out.
What this block does
Starts the Arcade built-in countdown clock with the specified number of seconds.
The block
Block ID: retro_countdown
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
| seconds | number | 10 | Timer length in seconds. |
Example
Retro.countdown(30)
Add the extension
Add github:CrzLe0723/RetroFx to your project, or open: Import RetroFx.