For example, a transition that spins the old scene around twice, changes, and spins the new scene twice before stopping.
Code: Select all
transform spinner(new_widget, old_widget):
delay 1.0
xalign 0.5 yalign 0.5
old_widget
rotate 0
linear 0.5 rotate 720
new_widget
rotate 0
linear 0.5 rotate 720
And a transition that slides the old scene out to the right, and the new scene in to the right.
Code: Select all
transform slidebothright(new_widget, old_widget):
delay 0.5
contains:
old_widget
xanchor 1.0 xpos 1.0
ease 0.5 xanchor 0.0
contains:
new_widget
xanchor 1.0 xpos 0.0
ease 0.5 xanchor 0.0