A pushable block moves the instant you brush it, or won't tell you it's stuck
In puzzle rooms, blocks that slide as soon as you touch them make you shove them into corners by accident. Blocks that never respond leave you guessing whether the way is blocked or the game is broken. Here is a short commitment time, a quicker follow-up and a clear signal when it cannot move.
Why this works
Brushing past a block is not a decision to push it. A short wait shows intent, and once the player is clearly pushing, asking again for each tile would just be tiring, so the wait shrinks while the direction is kept.
When not to use it
Do not delay in games where pushing is the main action and speed matters, like a quick block puzzle under a timer. Push at the first touch there, and make accidental pushes harmless by letting the player pull back.
In the full entry
- What to build, step by step
- Starting values and the reason for each
- 3 common mistakes and the fix
- A diagram of every state
- 36 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 pushable block moves the instant you brush it, or won't tell you it's stuck" (read_entry rpg-push-block-commit-delay) 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