Blog · 4 min read

Game HUD design: rules for a HUD players can read

Short answer

A good game HUD shows only what the player needs right now, keeps each element in a fixed corner, stays readable at the smallest screen you support (Valve's floor is 9 px text at 1280 × 800, and 12 px is safer), never relies on color alone, and animates changes rather than idle states. Build it from groups anchored to screen corners, inside the safe area.

A boss fight HUD with markers on health, boss bar, subtitles and abilities, each placed for readability
Mockup for this post, built from The Last Hunt, a fictional example game. Any numbers shown are example data.

A HUD is the part of the UI the player reads while doing something else. A settings menu gets the player’s full attention; a HUD gets a glance between dodges, and everything on it has to work in that glance.

1. Show less than you think

Start with a list of everything the player could want to know, then cut it. For each item, ask whether the player acts on it in the next few seconds. Health in a fight: yes. Total gold during a boss: probably not. One UI art director’s list of beginner HUD mistakes puts too much information on screen at the top.

What you cut doesn’t have to disappear. It can:

  • live in the pause or inventory screen,
  • appear only when it changes (a gold counter that slides in for two seconds after pickup),
  • appear only in context (ammo when a weapon is drawn, a stamina bar while sprinting).

2. Give each element a home and keep it there

Players learn where things are within minutes, then stop looking for them. Moving an element breaks that.

Element Common home Why
Health, shields, resources Bottom left Out of the way of the action, close to where eyes rest
Minimap, compass Top right or top center Glanced at, not watched
Objective, quest tracker Top left or right edge Read once, checked occasionally
Ammo, abilities, cooldowns Bottom right or bottom center Near the hands, so to speak
Button prompts Bottom center or next to the object Read at the moment of action
Notifications, pickups Side edge, stacked Easy to ignore

These are conventions, not laws. Being consistent within your own game matters more.

Build the HUD from groups anchored to those corners. When the screen is wider (21:9) or taller (16:10), each group stays in its corner. Our Godot UI scaling guide shows how.

3. Readable at the smallest screen you support

Text size is where indie HUDs fail most often, because they’re designed on a 27-inch monitor.

Valve’s Steam Deck compatibility review requires that the smallest on-screen character is at least 9 pixels tall at 1280 × 800, and recommends 12. Scaled to a 1920 × 1080 design, that’s about 14 px as a floor and 18 px as a target. For a game played on a TV across the room, go larger.

Contrast matters as much as size. A HUD sits on top of a game that changes color constantly: snow, fire, night. Give text and icons a dark backing, an outline or a soft shadow, and check them over the brightest and darkest scenes in your game.

4. Never rely on color alone

A red health bar and a green stamina bar look the same to many color-blind players. Pair color with a second signal:

  • shape (a heart icon next to health, a lightning bolt next to stamina),
  • position (they never swap places),
  • pattern or text (a “LOW” label, a pulsing outline below 25%).

5. Animate changes, not idle states

Motion pulls the eye. Use it when something changed: damage taken, an objective completed, a new item. A health bar that drains with a short delayed “ghost” segment tells the player how much they lost. A bar that pulses all the time teaches them to ignore pulsing.

Keep HUD animations short (100 to 300 ms for most changes) and let players turn off screen shake and flashing.

6. Keep it inside the safe area

TVs can crop the edges of the picture, and some phones have notches and rounded corners. The usual guideline for TV is a title-safe area of the middle 90% of the screen. Pad HUD groups in from the edges with a margin container, and test on the device or with a safe area overlay.

7. Let players adjust it

Options that cost little and help many players:

  • HUD scale (a slider from 75% to 150%),
  • HUD opacity,
  • toggles for individual elements,
  • a subtitle and text size setting.

A Godot HUD in a few nodes

HUD (CanvasLayer)
└─ Root (Control, Full Rect)
   ├─ Vitals (VBoxContainer, anchored bottom left, 32 px margin)
   │  ├─ HealthBar (TextureProgressBar)
   │  └─ StaminaBar (TextureProgressBar)
   ├─ Objective (Label, anchored top left)
   └─ Prompt (Label, anchored bottom center, hidden)
extends CanvasLayer

@onready var health_bar: TextureProgressBar = %HealthBar

func _ready() -> void:
	var player := get_tree().get_first_node_in_group("player")
	player.health_changed.connect(_on_health_changed)

func _on_health_changed(current: int, maximum: int) -> void:
	health_bar.max_value = maximum
	var tween := create_tween()
	tween.tween_property(health_bar, "value", current, 0.2)

The CanvasLayer keeps the HUD fixed on screen while the camera moves. Updating from a signal means the HUD does nothing on frames when nothing changed.

Designing the HUD with real data

The hardest HUD bugs only show with real numbers: a 7-digit score that overflows, a player name in German, 0 HP. In Envy you bind a bar or a text to a data path like player.hp, give the document sample data, and save scenarios such as “low health” or “full inventory” to flip between on the canvas. Device profiles show the HUD at Steam Deck, ultrawide and TV sizes, with the safe area drawn on the screen, and a document check warns when a button sits outside it. In the game, your code calls set_data("player.hp", 72) and the bound layers update. The data docs and layout docs go further.

Questions people ask

What should a game HUD show?

Only what the player acts on in the next few seconds: health and resources in combat, the current objective, ammo or cooldowns, and prompts. Everything else can live in a menu or appear only when it changes.

Where should HUD elements go?

In the corners and along the edges, so the center stays free for the game. Common conventions are health bottom left, minimap top right, objectives top left and prompts bottom center, but consistency inside your game matters more than any convention.

How big should HUD text be?

Valve's Steam Deck review requires the smallest character to be at least 9 pixels tall at 1280 × 800 and recommends 12. On a 1920 × 1080 design that is about 14 px minimum and 18 px recommended. TV games need more.

How do I make a health bar in Godot?

Add a TextureProgressBar or ProgressBar under a CanvasLayer, anchor its group to a screen corner, and set its value from a signal the player emits when health changes, so the HUD doesn't poll every frame.

Updated View as Markdown