Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hi there! I know this post is about 2-3 years old but I was curious if you could explain how you implemented the hover for the menu button? I have all my varients, named them the same as what you've shown, but it isn't showing the effects. (If I mouse over the button it remains the same no matter what state its in)

Hi Eggs, the documentation for Ren'Py imagebutton is on this page: https://www.renpy.org/doc/html/screens.html#imagebutton

You supply a different image for each state, and when that button is in a particularly state, Ren'Py automatically looks up the correct image under that name.

You don't need an image for all the states, if that state is not used.

- selected is only relevant if you use the button like a toggle.

- insensitive is for when there are times the button is disabled.

I had these in my project in game/gui/button folder, and I tried to match them by each quick menu button type with a different colour.

(The delete button set isn't part of the quick buttons, but I already marked it in the image. You can ignore it.)

I don't know if it helps but I tend to do a 'Force Recompile' before running a project.

GUI buttons

Thank you for replying so quick! I feel so silly, I forgot to move the new image files into the ACTUAL folder for the game xD I should've checked before had, but thank you so much! I'll keep the documentation on hand for later!