Imagebutton ATL Not Working With Screen Action

A place to discuss things that aren't specific to any one creator or game.
Forum rules
Ren'Py specific questions should be posted in the Ren'Py Questions and Annoucements forum, not here.
Post Reply
Message
Author
User avatar
The_Sauce
Newbie
Posts: 6
Joined: Mon Dec 14, 2020 7:29 pm
Projects: Normalcy
Organization: The Sauce
itch: the-real-sauce
Discord: The_Sauce#1952
Contact:

Imagebutton ATL Not Working With Screen Action

#1 Post by The_Sauce »

Just asking a question into the void to see if its a glitch, my lack of advanced programming skill, or if I'm going crazy.

I have a transform setup to make the button expand when hovered and shrinks when idle:

EXAMPLE:

Code: Select all

transform expand:
    on hover:
        linear 0.12 zoom 2.0
    on idle:
        linear 0.05 zoom 1.0

screen button_1a:
 
    imagebutton at expand:
        idle "imageA"
        hover "imageB"
        xalign 0.5
        yalign 0.5
        action action [ SetVariable("variable", n) ]
But if it has a SetVariable action it doesn't do the transform, I've tested with Jump, Call, Show actions and works as intended, just the SetVariable action specifically.

I'm just wondering if I'm missing something or, if I can't do that specifically, just a thought though, if not I'll just work around it.

Thank You,
The Sauce

Post Reply

Who is online

Users browsing this forum: Google [Bot]