overworld set animation type
Problem it solves
You want screen transitions to feel smooth with a classic screen push or a fade effect when walking into another room.
What this block does
Sets the transition animation style used when moving between rooms (None, Scroll, FadeToWhite, FadeToBlack, or FadeToColor).
The block
Block ID: overworld_setAnimationType
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
| animationType | AnimationType | — | The animation style: None, Scroll, FadeToWhite, FadeToBlack, or FadeToColor. |
Example
overworld.setAnimationType(overworld.AnimationType.Scroll)
Add the extension
Add github:riknoll/arcade-overworld to your project, or open: Import arcade-overworld.