Game juice and polish techniques
game-feeljuicescreen-shakehitstopparticlestransitionshapticsaccessibility
"Juice" is the layer of feedback (shake, particles, flashes, sound, haptics, animation) that makes actions feel weighty without changing the rules. This is a prioritized catalog with concrete numbers, researched for Run (a Flutter/Flame speedrun platformer) and partly shipped there.
Priority list (impact vs effort)
- Auto-pause on app background (critical, cheap)
- Landing dust
- Screen shake on death
- Button press scale feedback in menus
- Death burst particles
- Hitstop / impact freeze
- Dash afterimage trail
- Level transition wipe
- Speed lines
- Menu stagger animations
Camera
- Shake: random offset decaying by
intensity *= 0.85per frame, 4-8 px, 0.15-0.3 s. A camera offset is essentially free. - Hitstop:
timeScale = 0.05(or pause the engine ~50 ms) for 2-3 frames on death or a big landing (Celeste / Super Meat Boy weight). - Zoom pulse: 1.0 -> 1.05 -> 1.0 over ~0.3 s on boost or level complete.
- Landing bump: 3-5 px downward offset that springs back after big falls.
Particles (numbers that look right)
- Landing dust: 6-10 small circles, horizontal spread, slight upward velocity, 0.3-0.5 s.
- Speed lines while boosted: thin rects moving backward at 2x, 0.1-0.2 s.
- Dash trail: afterimage every 2 frames, fading over 0.2 s.
- Death burst: 15-20 particles in the player's palette with gravity, 0.4-0.6 s, plus a white flash.
- Wall-slide sparks: 2-3 per frame from the contact point.
- Win confetti: 30-50 rotating rects, slow gravity, 1-2 s.
- On phones make particles 1.5-2x larger (min 3-4 px in viewport units); small effects vanish on a 6 inch screen. Mobile death effects should stack shake + heavy haptic + burst
- 2-frame flash.
Transitions and UI
- Iris wipe (circle clip on the player shrinks, load, expands) or slide wipe; a level-name splash that fades over ~0.8 s.
- Replace
MaterialPageRoutewithPageRouteBuilder+ fade + slight scale (0.95 -> 1.0). - Button press: scale to 0.92 on tap down, spring back with
Curves.elasticOut; the single highest-impact UI juice. - Menu stagger 50-80 ms per item (slide up 20 px + fade); medal reveal 0 -> 1.2 -> 1.0 with a counting-up time; idle float on level cards (2-3 px sine).
- Haptics:
lightImpact()on taps,selectionClick()on menu navigation.
Edgy feedback that Run shipped (Super Meat Boy level, not gratuitous)
Gore chunks when chasers are shaken off (but silent removal on death), blood splatter on
projectile hits, green dissolve on toxic deaths, blood-stain decals on hazard platforms
(seeded random ovals cached as a Picture, so zero per-frame cost), a 0.4 s red vignette,
16 random snarky respawn quips (float + fade, 1.8 s), and a death counter in the HUD.
App lifecycle (easy to forget)
Auto-pause the game and stop the timer on AppLifecycleState.paused/inactive; pause music
on background; hold a wakelock only during gameplay; save the last played level.
Accessibility
Respect reduced motion (MediaQuery.disableAnimations or a toggle: no shake/particles,
instant transitions), colorblind-safe palettes (blue/orange instead of red/green, plus
patterns or icons), HUD text scale 0.8-1.5x, high-contrast outlines, Semantics on menu
buttons.
See also
- Visual effects in Flame (particles, effects, decorators, shaders)
- Platformer movement feel (coyote time, jump buffering, wall jumps)
- Touch controls for mobile action and platformer games
- Game juice checklist (feedback layers that make a game feel good) (tiered checklist and the bugs juice effects cause)
Linked from
- Game juice checklist (feedback layers that make a game feel good)
- Hazards and counter-abilities in a speedrun platformer
- Platformer movement feel (coyote time, jump buffering, wall jumps)
- Static trivia and quiz games (daily sets, question banks, fact checking)
- Touch controls for mobile action and platformer games
- Visual effects in Flame (particles, effects, decorators, shaders)