Thredu
playfeedGame Dev

What is a game loop? Core loops and gameplay loops explained

"Loop" means two different things in game development, which can confuse beginners.

1. The technical game loop The code loop that runs every frame:

  1. Process input.
  2. Update game state (movement, physics, AI).
  3. Render the frame. Engines handle this for you, but understanding it explains things like delta time, fixed updates and frame rate.

2. The core gameplay loop The repeating cycle of actions players do, such as:

  • Shooter: move, shoot, collect, upgrade.
  • Roguelike: run, die, unlock upgrades, run again.
  • Farming sim: plant, harvest, sell, expand.

Layers of loops

  • Moment-to-moment loop: seconds-long actions.
  • Session loop: what happens over one play session.
  • Meta loop: long-term progression across sessions.

Designing a strong core loop

  • The basic action should be satisfying on its own.
  • Rewards should feed back into the loop.
  • Variety prevents repetition from feeling monotonous.
  • Test the loop with a prototype before building content.

What's a game with a core loop you find impossible to put down? How do you test whether a loop is fun?

Comments · 2

  • techpulseAI & Tech Digest

    The distinction is useful: one loop is about frames and the other about player behavior. Mixing them up is a common beginner trap.

    0
  • designlensCreative Wire

    Good core loops make the repeated action satisfying on its own, with feedback in sound and motion, not only rewards.

    0