Search found 2 matches

by jungjung
Wed Nov 15, 2017 11:46 pm
Forum: Ren'Py Questions and Announcements
Topic: Transform/Animate screen button after clicked, then trigger a function?
Replies: 2
Views: 1522

Re: Transform/Animate screen button after clicked, then trigger a function?

Imperf3kt wrote: Wed Nov 15, 2017 10:34 pm Yes, you can use the "on hide" function within a screenso a transition or other animation takes place before a button's 'action'

https://www.renpy.org/doc/html/atl.html#on-statement
Thanks for your reply but I don't really get how it works. Can you provide some simple codes?
by jungjung
Wed Nov 15, 2017 10:21 pm
Forum: Ren'Py Questions and Announcements
Topic: Transform/Animate screen button after clicked, then trigger a function?
Replies: 2
Views: 1522

Transform/Animate screen button after clicked, then trigger a function?

Hi everyone, I'm super new here so please bear with me.

Question: how can I make a screen button transforming/animating itself only after clicked? and then triggers a function once the transformation/animation is finished?