A combo counter that rewards a streak and forgets it when you stop
A combo needs a time limit, but a fixed limit is either too forgiving at the start or impossible later. And the timer must stop while the game does. Here are a window that tightens with the streak, the bonus tiers, and what must pause the clock.
Why this works
A streak only means something if it can be lost. A shrinking window makes a long run harder to keep, so the number reflects skill, and counting only play time means a pause or a freeze never takes the streak away unfairly.
When not to use it
It is wrong in relaxed, cooperative or story-driven games, where a counter that punishes gaps feels stressful. Skip the countdown there and reward steady progress with a simple tally, or let people pick the pace themselves.
In the full entry
- What to build, step by step
- Starting values and the reason for each
- 4 common mistakes and the fix
- A diagram of every state
- 27 lines of example code with 5 checks that pass
- How your AI shows you that it works
Say this to your AI
Use the Spielerando entry "A combo counter that rewards a streak and forgets it when you stop" (read_entry combo-counter-with-shrinking-window) in my game. Build it step by step, and show me how you checked that it works.Or skip this and connect the MCP: your AI then finds all of this by itself.Connect the MCP