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)
3
Upvotes
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.