Page 1 of 1

[BUG]statement 'at' doesn't work on textbuttons

Posted: Thu Jul 03, 2014 2:41 pm
by Badriel
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:

Code: Select all

textbutton _("Back") at qm_smooth(0.5,0.6,0,-20) action Rollback()
Accompanied with

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   
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.

Re: [BUG]statement 'at' doesn't work on textbuttons

Posted: Thu Jul 03, 2014 3:15 pm
by SundownKid
Did you try writing the button like this?

Code: Select all

textbutton _("Back") action Rollback() at qm_smooth(0.5,0.6,0,-20)

Re: [BUG]statement 'at' doesn't work on textbuttons

Posted: Thu Jul 03, 2014 5:42 pm
by Badriel
SundownKid wrote:Did you try writing the button like this?

Code: Select all

textbutton _("Back") action Rollback() at qm_smooth(0.5,0.6,0,-20)
Doesn't work either.