+ 1
How are loops used in games?
Well, I just learned loops. So I have a question. How are loops used in games?
2 Answers
+ 10
Well I believe you already know that loop is all about repeating the same task under a given condition.
Therefore, anything related to repetition can be implemented with loop.
â
Restart the game/match
â
Generate multiple monsters/loots
â
Turn-based game
and etc. Hopefully it helps! đ
+ 2
In a game you consently have to respond check for input and then respond accordingly
Game Loops are often used to proform this repetitive action in cycles known as ticks.