How often do loops repeat in game maker? Is it every step, or as fast as it can handle? I need it to loop every step, is it possible to do that? I'm talking about in code, I have a do until loop. Just interested in the facts, here.
1 Answer
\$\begingroup\$
\$\endgroup\$
1
The entire loop will process every time the script that contains it is called. This happens inside a single frame.
-
1\$\begingroup\$ So every time a script (or D&D) that has the loop gets called, the loop will be executed until its finished. For example if you put the loop inside the "Create" event, it will get called once upon creation If you put it inside step, it will be called every frame (and you decide the framerate based on room_speed) \$\endgroup\$– JeffCommented Apr 17, 2013 at 17:12