Loops - How they work [Game Maker | Basics] @1upIndie
Loops - How they work [Game Maker | Basics]  @1upIndie
Uploaded September 2022 | Updated September 2026, 10 hours ago
This basics video tutorial shows you what loops are in GameMaker.

Loops are essential in every programming language where you repeat an instruction until a condition is met. There are 4 loops in GameMaker, which are "repeat", "for", "while" and "do until". They all share one thing. A condition when the loop is over and the code/instruction part that is being looped/repeated/iterated on. You can exit out of a loop with the break; command. Also a word of caution. You can do infinite loops which will always crash your game, so please don't do that. That's it!

Tldr:
loops = condition and code part


Sam spades more in depth video list on loops:
youtube.com/watch?v=MvhSJ0A8wYk&list=PLwgH1hDD0q1Es6P8T1t9ew9cyUTvhlbY0

// graphic from thumbnail:
opengameart.org/content/mini-fantasy-sprites


πŸ‘‘ Support me and get fresh game art and game maker projects every month:
patreon.com/1upindie

Follow me on:
πŸ“Έ Instangram: instagram.com/1upindie
🐦 Twitter: twitter.com/1upIndie
πŸ’¬ Discord: discord.gg/gvr98nb
πŸ“œ Udemy: udemy.com/course/become-a-video-game-developer-with-gms-23 (See youtube about page for discount)


CHAPTERS
-------------------------------------------------------------------------------------------------------
0:00 What we will go over
0:45 Subscribe
0:57 What are loops in programming?
1:17 How are loop structured?
1:22 Repeat loop
2:20 Do until loop
3:10 While loop
3:42 For loop
4:22 Stopping a loop with the break command prematurely
5:43 Example 1 - Use loops for user interface drawing
7:04 Example 2 - Use loops for randomization
7:26 Example 3 - Use loops for initialization, checking
8:25 Game shown - Narita Boy
Loops - How they work [Game Maker | Basics]Dune spice wars, Alwas Awakening, Witchcrafty,  A Retired Mens Nude Beach Volleyball League reviewMana sparks effect [GameMaker Studio 2 | Vfx]How to use the Particle System [Game Maker | Basics]Make a game look better [Super Demon Survivors devlog #1](Code) snippet - The code wizards way [Game Maker | Basics]Easy to do tileset collision [Game Maker Studio 2 | Basics]Turbo Overkill, Incision, Blood West [Lazy reviews]Gamemaker Studio 3 - Pricing + Better Free version(De)-activate + spawn enemies around player [#9 Vampire Survivors Remake in GameMaker ]Data structure - ds grid [Game Maker | Basics]Forager style bounce [Game Maker Studio 2 | Advanced]
1up Indie |

Loops - How they work [Game Maker | Basics]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER