Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
I'd like to have my imagebutton instead of immediately turning in to the hovered image when hovered, have it transition to the hovered image with a dissolve animation
How could I get something like that for a basic imagebutton like this
Funny you ask that viewtopic.php?f=8&t=45228#p462630
This post should contain everything you need. Remember that you can pass arguments to a transform too!
Crappy White Wings (currently quite inactive)
Working on: KANPEKI!
(On Hold: New Eden, Imperial Sea, Pure Light)
transform bdiss(idle, hover):
on hover:
linear .25 hover
on idle:
linear .25 idle
# put this in the screen
imagebutton "/gui/start_idle.png" action Start() at bdiss("/gui/start_idle.png", "/gui/start_hover.png")
I can't think of a way how to use auto with this method though.
Crappy White Wings (currently quite inactive)
Working on: KANPEKI!
(On Hold: New Eden, Imperial Sea, Pure Light)