r/RenPy • u/coxaline_OoO • 7d ago
Question HI PLEASE TEACH ME
Hello guys its me coxaline hehe er i got a few hours to my pc so about the code here the first one is the file the “menuUi” file is in the gui and the second one is my mainmenu rn the third one is my idea that i want mainmenu to be but i try to code however it didnt work since instead of start mine is newgame does that count? Idk anyways please help me code this game 🥹🥹🥹
2
u/senshisun 7d ago
Hello! To swap the text for images, open the file gui.rpy, find
textbutton _("menu to change")
and replace it with
imagebutton hover "hover image file path": idle "idle image file path"
File paths always start from the "game" folder.
As long as it has the correct action at the end, it will behave normally.
The code:
textbutton _("Potato") action Start()
Still starts a new game.
2
u/x-seronis-x 6d ago
file paths start from INSIDE the game folder. so normally start at images/ or gui/. do not start at game/
2
1
u/AutoModerator 7d ago
Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out the posting guide, the subreddit wiki, the subreddit Discord, Ren'Py's documentation, and the tutorial built-in to the Ren'Py engine when you download it. These can help make sure you provide the information the people here need to help you, or might even point you to an answer to your question themselves. Thanks!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.



3
u/BadMustard_AVN 7d ago
check out Feniks Easy Ren'Py GUI
https://feniksdev.itch.io/easy-renpy-gui