Loops in python


Hi! Great game!
I chose python as default but there is “loop” for cycles and as far as I know “loop” is not used in python.
Is it used in CC for simplification? Will it be changed on higher levels?


Yup, we get you into doing real Python loops in the desert. We introduced this simple loop keyword because otherwise it’s too easy to get into infinite loops, which are no fun to debug. A loop: is equivalent to a while True:, except that it will yield for one frame if you don’t take any blocking action within the loop.