Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Hi all. I have added a time system in renpy and would like to show it at all times at the top left of the screen. I have made two simple room to room navigation screens to click on the doors to enter each room. The problem is as soon as the first navigation screen appears the 'dayperiod' screen (showing the day/time) disappears and stays "disappeared".
Does anybody know where I am going wrong? I'm still very new to renpy and have no previous game development experience. The user docs are still looking a foreign language to me.
Thanks for the reply. I've just tried it out and unfortunately it doesn't fix the problem. I wonder if it's because my navigation room's idle and hover images are both full screen. The navigation works but maybe the day/time is hidden behind them?
Those would be on the "screens" layer, which is behind "overlay", hence the suggestion.
I'd guess any issue remaining is due to the Call actions resolving as Return() and ending the screen interaction.
It would likely be best (especially while testing) to remove any buttons in the dayperiod screen and have it just display the text
I have updated the code (below) removing the buttons from dayperiod but everything is still acting the same way. As soon as the game reaches the hall label it disappears.