This code:
Code: Select all
textbutton _("Back") at qm_smooth(0.5,0.6,0,-20) action Rollback()
Code: Select all
transform qm_smooth(p=0, t=.5, x=0, y=0): ##transform with vertical hover
on replaced:
easeout t alpha 0
on hide:
easeout t alpha 0
on hover:
pause p
easein .2 xoffset -5
on idle:
easeout .2 xoffset 0
on selected_idle:
easeout .2 xoffset 0
on selected_hover:
easein .2 xoffset -5
It works on imagebuttons, though.