Value of progress_ratio

Hi, I noticed in my version of Godot using print(progress_ratio) it would never reach 1.0, so doing so:
if progress_ratio == 1.0:

would simply never become true.

It worked after I changed it to:
if progress_ratio >= 0.98:

am I doing something wrong or is this simply an artifact of me probably not being on the same version as you guys?

After a bit of further testing, I found out it was because my Enemy Scene had “Loop” disabled, while my actual Enemy node in the BaseLevel scene had it enabled!


glad you found the fix and youre back on track :+1:

Ran into this problem also. Thanks!

Privacy & Terms