SSantoshi/GamesSearch

Game design

Game feel: make every action satisfying

Two games with identical rules can feel completely different. The difference is feedback: how the game answers every press of a button.

Players trust games that clearly answer every action. Press jump: the character squashes, a sound plays, dust kicks up. That answer is called feedback, and the craft of tuning it is called game feel (or, informally, "juice").

Feel is mostly made of small, cheap tricks, each a few lines of code. Below, every one comes with a Godot snippet, then we stack them on a single coin pickup and look at what our own tank game does when a shell lands.

Answer every action three ways

For important actions, give feedback through:

  1. Sight: animation, particles, a flash, a number popping up.
  2. Sound: a short, punchy effect. Sound is often half of the feel.
  3. Motion: screen shake, a tiny pause on impact (hit-stop), or controller rumble.

You don't need all three for every action. Walking needs almost nothing; landing a heavy hit or collecting the last key deserves the full set.

Cheap tricks with a big effect

Squash and stretch with a tween

Set the scale for one instant, then let a tween ease it back to normal:

func squash() -> void:
    $Sprite2D.scale = Vector2(1.25, 0.75)  # wider and flatter
    var tween := create_tween()
    tween.tween_property($Sprite2D, "scale", Vector2.ONE, 0.15) \
        .set_trans(Tween.TRANS_BACK).set_ease(Tween.EASE_OUT)

Call squash() when the player lands. Use Vector2(0.8, 1.2) for a stretch when they take off. Keep the sprite's origin at its feet, or the squash will lift it off the ground.

Hit-stop

Pause the whole game for a moment, using a timer that ignores the pause:

func hit_stop(duration := 0.06) -> void:
    Engine.time_scale = 0.0
    # The last argument makes this timer ignore time_scale, so it still finishes.
    await get_tree().create_timer(duration, true, false, true).timeout
    Engine.time_scale = 1.0

Use it for hits that matter, not every bullet. A few hundredths of a second is enough; longer starts to feel like lag.

Screen shake that fades out

A useful approach, popularised by Squirrel Eiserloh's GDC talk on camera shake, is to keep a "trauma" value that events add to and that drains over time, and shake by its square so small knocks stay subtle:

extends Camera2D

const MAX_OFFSET := 8.0  # pixels at full trauma
var trauma := 0.0

func add_trauma(amount: float) -> void:
    trauma = min(trauma + amount, 1.0)

func _process(delta: float) -> void:
    trauma = max(trauma - 1.5 * delta, 0.0)
    var shake := trauma * trauma
    offset = Vector2(randf_range(-1.0, 1.0), randf_range(-1.0, 1.0)) * MAX_OFFSET * shake

Call add_trauma(0.3) on a small hit and add_trauma(0.7) on an explosion. Note the delta: the shake fades at the same speed at any frame rate (see The game loop and delta time).

Make controls forgiving

Feel is also about what the game lets you get away with:

Players will never notice these, but they will notice when they're missing, and the game will feel "unfair". Here are all three in a Godot CharacterBody2D, using a jump input action:

const JUMP_VELOCITY := -500.0
const GRACE := 0.1  # seconds, for both coyote time and buffering
var coyote := 0.0
var buffer := 0.0

func _physics_process(delta: float) -> void:
    coyote = GRACE if is_on_floor() else max(coyote - delta, 0.0)
    buffer = GRACE if Input.is_action_just_pressed("jump") else max(buffer - delta, 0.0)
    if buffer > 0.0 and coyote > 0.0:
        velocity.y = JUMP_VELOCITY
        buffer = 0.0
        coyote = 0.0
    if Input.is_action_just_released("jump") and velocity.y < 0.0:
        velocity.y *= 0.5  # short hop when the button is let go early
    # ...gravity, horizontal movement and move_and_slide() as usual

Worked example: collecting a coin, before and after

Start with the plainest version: the coin disappears and the score goes up by one. It works, but it feels like nothing happened. Now add one layer at a time and play after each:

  1. Sound: a short, rising "ding". If coins come in quick succession, raise the pitch a little for each one in the streak, then reset it after a pause. Collecting a row of coins now plays a little melody.
  2. The coin reacts: instead of vanishing, it scales up by 30% and fades out over 0.15 seconds.
  3. Particles: five or six small sparks burst outward from where it was.
  4. The score reacts: the number in the corner pops slightly bigger and settles back, so the player's eye connects the coin to the score.
  5. No shake, no hit-stop. A coin is a small, happy event. Saving the big effects for big moments is what keeps them meaningful.

That's about fifteen minutes of work, and players will describe the game as "satisfying" without being able to say why.

Feedback loops in systems

Beyond button presses, design systems where cause and effect are clear: if the player loses, they should understand why within a second. Show what hit them, how much damage it did, and how to avoid it next time. A brief slow-down at the moment of defeat, with the deadly enemy highlighted, teaches more than a game-over screen with a number on it.

What we learned building Tank Arcade

Tank Arcade is the game where we leaned hardest on feedback, partly because it has no image files: everything is drawn in code, so the effects carry most of the look. Here's what happens, in code, when a shell hits a tank.

  1. The tank flashes for 0.12 seconds.
  2. Ten sparks burst out from the impact.
  3. The camera shakes, by 2.5 if you hit an enemy and 4 if you got hit. Your own damage should always feel worse than damage you deal.
  4. If that hit was the last one, there's an explosion sized to the tank (heavies get a bigger one), a burst of debris in the tank's colour, a much bigger shake (9 for an enemy, 14 for you), and the explosion sound with its pitch nudged randomly between 0.9 and 1.1, so ten explosions in a row don't sound like a recording on repeat.
  5. A score popup floats up from where it died: "+150" for a scout.

None of these is clever on its own. Stacked, they make a kill feel like a kill. A couple of smaller touches do more work than you'd think: the heavy's shells play the firing sound at a lower pitch, so you can hear a dangerous shot coming before you see it, and tanks leave tread tracks and scorch marks that stay on the floor, so the arena slowly becomes a record of the fight.

Sound needs the same care as visuals. In our racer Nitro Crown, the nitro boost sound is a seamless loop, built with a small script, rather than a fixed-length clip. However long you hold the boost, the sound lasts exactly that long and stops when the boost does. A three-second whoosh on a one-second boost would undo every other bit of polish.

Don't overdo it

Too much shake, flashing and noise hides the information the player needs, and can cause motion sickness or trigger photosensitivity. Add effects one at a time, playtest, and keep the ones that make the game clearer as well as more exciting. Give players a settings option to reduce screen shake and flashing; it costs one checkbox and a multiplier.

Common mistakes

Watch these next


Sources & credits

This guide is original writing by Santoshi Games. It draws on, and links to, the free resources below. All rights to them belong to their creators. Please support them.

← Back to learn