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.
Okay, so basically, I want to make a logo in the middle of main menu screen, that jumps when it's hovered. I don't want it to actually do anything when clicked, just make a small animation. I tried coding it in but it doesn't seem to work? There's no error message or anything, it just doesn't display the animation... I'm still learning coding so I probably messed up lol
screen main_menu():
## This ensures that any other menu screen is replaced.
tag menu
add gui.main_menu_background
imagebutton:
idle "images/DDM_idle.png"
hover "logo_hovered"
xalign 0.5
yalign 0.5
focus_mask True
action None
Thank you for answering btw :>
Last edited by Malinovaa on Mon Apr 01, 2024 2:08 pm, edited 1 time in total.
Button without any actions will not receive any events. If you want hover events to work, you need to provide an action. You can use a built-in action which does not do anything, called NullAction()
I am also making a logo in the middle of main menu screen, that jumps when it's hovered but I am facing issues. That is why I am searching for the solution online and I am glad I found your post where I found my answer. I am also very happy because I also discovered the https://bigassignments.com/ website link through which I can get help from a professional essay writer regrading my essay assignments. Now, I can easily concentrate on my project instead of wasting my time on writing a lot of essay assignments.