[Solved] Exception: Possible infinite loop
Posted: Fri Jul 23, 2021 7:22 pm
Hi,
We are developing a game in which sometimes the game is waiting for the player to click something. The way we managed to do this is by using a while-true-pause scheme. It has worked in previous games and even in this one until recently. This error appears:
The underlying code is the following:
This has worked for years. If we click Ignore in the error page the game continues smoothly. We would like (if possible) to just continue without the error. Is it possible?
We have tried unsuccesfully:
- to use a try-except
- to delete the while-true and use a jump to the beginning
- to fool the while True
Any ideas?
Thank you in advance!
We are developing a game in which sometimes the game is waiting for the player to click something. The way we managed to do this is by using a while-true-pause scheme. It has worked in previous games and even in this one until recently. This error appears:
The underlying code is the following:
Code: Select all
label navegacion:
$flag_boton = True
$flag_navegacion_activa = True
while True:
$ renpy.pause(200, hard=True)
We have tried unsuccesfully:
- to use a try-except
- to delete the while-true and use a jump to the beginning
- to fool the while True
Any ideas?
Thank you in advance!