MakeCode Games!

A fan-made community library of MakeCode Arcade games. Visit MakeCode Arcade to make a game!

← Back to extensions

Arcade Overworld

Create connected Zelda-style room grids and seamless multi-screen adventure worlds with smooth transitions and auto-scrolling.

overworld set animation duration

Problem it solves

Your screen transition animations feel too fast or too slow for the pacing of your game.

What this block does

Sets how long the room transition animation takes in milliseconds. Only works when animation type is not None.

The block

Block ID: overworld_setAnimationDuration

overworld set animation duration $duration block

Parameters

NameTypeDefaultMeaning
durationnumber—Animation duration in milliseconds (e.g. 500 for half a second).

Example

overworld.setAnimationType(overworld.AnimationType.Scroll)
overworld.setAnimationDuration(500)

Add the extension

Add github:riknoll/arcade-overworld to your project, or open: Import arcade-overworld.