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.
So I'm working on putting a tooltip element on one side of the quick_menu, with ATL that makes the text appear/disappear with alpha and xoffset. However, only the on show: part of the transform is visibly working, which means that the tooltip slides/fades into view, but doesn't do the reverse on hide:. I'm assuming this might have something to do with how it's structured right now.
Here's the screen quick_menu() code as it is right now, with any extraneous elements removed:
This is an updated version of the quick_tooltip_text transform, which uses the hover and idle states. It doesn't produce quite the effect I'm looking for, but it's definitely closer.
Thanks to AdamJ1664 on the Ren'Py Discord server for pointing me in the right direction.
Final version of the code. Kudos again goes to AdamJ1664 for his invaluable help.
Using hovered Show() and unhovered Hide() instead of simply tooltip.
Using a separate tooltip_text(t) screen, and setting its zorder to be above 100 in order for it to display over the reused notify.png on the quick menu.