Skip to main content
Version: Release

Transitions

Transitions animate between scenes. Pass one to SceneManager.transition_to_scene:

manager.transition_to_scene(
"menu",
bf.transition.FadeColor(0.5, color=(0, 0, 0)),
)

Built-in transitions​

ClassEffect
FadeCross-fade source → destination
FadeColorFade through a solid color
GlideLeft / GlideRightSlide
CircleIn / CircleOutCircular wipe

All take duration (seconds) and optional easing.

While a transition runs, player input events are suppressed by the active scene.