[BUG]statement 'at' doesn't work on textbuttons
Posted: Thu Jul 03, 2014 2:41 pm
I've encountered a bug in the new renpy update (it worked fine in the earlier 6.17.3 release), 'at' statement doesn't work with textbuttons anymore
This code:
Accompanied with
Worked normally before, but now doesn't work with textbuttons (the text button should slide a bit on the hover).
It works on imagebuttons, though.
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.