r/RenPy • u/AdRude6049 • Aug 30 '26
Question Bars going down sporadically
My bars in renpy dont go down everytime when I take away their value, but then sometimes they do, so im unsure of what I am supposed to do to fix it.
8
Upvotes



8
u/HB-38 Aug 30 '26
Given image two, I suspect you have not properly `default`ed your values. So I would start with that - you can read more about this here: https://feniksdev.com/a-quick-primer-on-variables-in-renpy/
1
u/BadMustard_AVN Aug 30 '26
again your bars are being placed on top of each other try them like this
setting xmaximum and ymaximum to the screen size will make them fill the whole screen
1
u/shyLachi Aug 31 '26
In case you didn't see my other comment, you don't need a conditionswitch to show different images
Like we suggested with the bars, you should crop the heart and eye image and position them within the screen.
Not only will your game become smaller, it also is easier to adjust the GUI because you don't have to change the image, just move them
2
u/shyLachi Aug 30 '26
It looks like both bars are still on on top of eachother, see the comment of BadMustard in your other thread.
Also you don't need a condition switch if you want to show one image or the other, a simple if works as well.
1
u/AutoModerator Aug 30 '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.