overworld set animation custom fade color
Problem it solves
You want screen transitions to fade through a spooky crimson red or magical purple when entering a dungeon.
What this block does
Sets the custom color used when the animation type is set to FadeToColor. Accepts a hex color string like '#ff0000'.
The block
Block ID: overworld_setAnimationFadeColor
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
| color | string | #000000 | Hex color code string (e.g. '#ff0000' for red). |
Example
overworld.setAnimationType(overworld.AnimationType.FadeToColor)
overworld.setAnimationFadeColor("#ff0055")Add the extension
Add github:riknoll/arcade-overworld to your project, or open: Import arcade-overworld.