Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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.

share|improve this question
    
Can you provide more information about the problem you're trying to solve? –  Josh Petrie Apr 17 '13 at 4:35
add comment

1 Answer

The entire loop will process every time the script that contains it is called. This happens inside a single frame.

share|improve this answer
1  
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) –  Jeff Apr 17 '13 at 17:12
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.