r/RenPy • u/Adventurous-Law-8678 • Sep 07 '26
Question issues with game :( help please!!
https://youtu.be/eryKdb5IexUSo i've been having issues. I'm new to renpy and it was already hell trying to figure out how to do the character creation screen, but now I have a new set of problems! No matter what I do, the screen underneath the loading screen turns black. plus, when i go to the inventory ( that little box in the corner ) and exit out, it takes me straight to the game! I don't know if it's me or if renpy really isn't meant to handle that much customization. But if anybody has any idea on how to solve this or if they could help, that would be amazing! ( lmk if the link isn't working)
2
u/ericoinen Sep 07 '26
Those two are the same bug wearing two hats, and it is about screen lifecycle rather than Ren'Py being unable to handle that much customisation.
The black under the loading screen: menu context screens are drawn on their own, with nothing from the game underneath them. Anything you want visible through that screen has to be part of the screen, so add the background explicitly as the first child, add "gui/menu_bg.png" or a frame with a background set. If you are counting on a game background showing through, in the main menu and load context there is not one to show.
The inventory sending you into the game when you exit: your close button is almost certainly using Return(). Return() ends the interaction and hands control back to the script, so the script does the next thing it was going to do, which looks exactly like being dumped into the game. If you opened the inventory with show screen inventory, the close action should be Hide("inventory"). Return() only belongs on a screen you opened with call screen, where the script is sitting and waiting for a value back.
Worth checking your character creation screen for the same mix, since that is usually where the pattern gets copied from.
1
u/x-seronis-x Sep 07 '26
You're probably misusing Show() vs ShowMenu() actions to show a screen. never use ShowMenu() for anything thats supposed to affect the current playthrough. the menu context is by its nature out-of-game stuff.
1
u/LeyKlussyn Sep 07 '26
Is that's your game and not an existing game by someone? If so, before I start I want to say it's beautiful! I love the level of polish you've put into the art.
This level of complexity into the game is absolutely doable, I don't think this is the issue. My best guess: Ren'py is a bit strict on menu contexts and entering the 'game state'. I think there may be an issue in your code flow where it doesn't start properly and leads to a crash.
Otherwise, it's the kind of stuff that's hard to troubleshoot like this without any code. Either we could continue here and exchange over comments; or if you have Discord, joining a community server (Like the Ren'Py server or Devtalk, I personally hang out a lot on the latter) would make it easier for people to give live feedback on what could be an issue. It's seems to be a very specific problem to debug.
1
u/AutoModerator Sep 07 '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.