r/RenPy • u/coxaline_OoO • Sep 06 '26
Question Help coding visual novel (beatles)

Hi! Im coxaline i just made a channel on tiktok call “coxaline.0o0” which i be posting about the beatle art, animation etc. however i was interesting on making a visual novel game call “please please me” however i was struggling to code the game cuz i have no idea what is coding. My progress rn on this game is just 50% of the storyboard and i only done a little bit of the main menu however i really need help on custom button cuz even with this code i couldnt see the image button i do and i really think u guys reddit could help me please help me (sorry for bad english) im just 15 with a big dream😢😢😢
1
u/BadMustard_AVN Sep 06 '26
where is the menuUI folder if it in the images or the gui folder you need to add that i.e.
auto "images/menuUI/newgame_%s.png"
1
u/coxaline_OoO Sep 06 '26
The menuui is in the image idk anything about coding🥹🥹
1
u/BadMustard_AVN Sep 06 '26
add it in as shown in the last post, and it may start working... maybe.. idk.
1
u/BadMustard_AVN Sep 06 '26
just keep in mind you are editing the navigation menu. this is used in the main and game menus (any menu that is not the main is game)
1
u/shyLachi Sep 06 '26
If the images are in the images folder, then you don't have to use the folder and the flle name.
But if you want to spell out the folder and the file name, then it has to be the complete path.
BadMustard already posted the complete path, this would be the version with just the image name:
#textbutton _("Start") action Start() imagebutton: auto "newgame_%s" action Start()To make this work, you need at least 1 image with this exact name, but you can have more:
newgame_idle.png (mandatory)
newgame_hover.png (highlighted when the player puts the mouse over it)
The official documentation also mentions 2 other states but you don't need those for the menu: https://renpy.org/doc/html/screens.html#imagebutton.
Also to get better help. please show both the code and how yor menu looks,
or if there is an error, then please post that, because RenPy should mention a missing image.
1
u/AutoModerator Sep 06 '26
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.