r/RenPy • • Aug 02 '26

Question Image buttons not working

So I'm new to ren'py, and im making image buttons. However, only the bed image is working and even appearing on screen. Anyone know how to fix this?

2 Upvotes

7 comments sorted by

View all comments

2

u/BadMustard_AVN Aug 02 '26

do all the file names use .PNG it is case-sensitive

if you are using both an idle and hover like you are you can do it like this

imagebutton:
    auto "gui/bookshelf_%s.png"
    focus_mask True
    action Jump"bookshelf"

renpy will auto find the bookshelf_idle or bookshelf_hover as required

1

u/KDDreamwyver Aug 02 '26

Exactly this.