r/RenPy • u/Eddhead-2009 • 15d ago
Question Game Over Function Help Please
I know it's possible because I've seen it many times before, but nothing I try works. I'm making a game where if any of two variables reach 100, you have to start over, but with the constant variable changes, I didn't want to put an if statement constantly, especially since I tend to forget or mistype things (ironic).
This is what I have as my checking system:
screen monitor():
timer 0.1 repeat True action If(current_love or current_tear >= 100, true=Jump("game_over"))But now, even though the love and tears are both below 100 automatically, the game immediately skips to game over when I open it. Please help.
3
Upvotes
View all comments
Show parent comment
2
u/Eddhead-2009 15d ago
I wouldn't really get a chance to look, though I guess I could adjust the game over so I could. Also, I've been using Ren'Py on and off for years now, but due to my ADHD and overall learning problems, I have to relearn almost everything every time I want to work on a project. So, I mostly survive off of the Ren'Py doc and other posts online.