+ 1
How are loops used in games?
Well, I just learned loops. So I have a question. How are loops used in games?
2 odpowiedzi
+ 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.