← LeaderboardThe Skill Leaderboard

design-glass-game-hud

Design translucent toolbars, anchored inspectors and upgrade menus over moving 3D gameplay. Use when controls need to feel like glass while labels, focus and the action underneath stay readable.

Published by MengTo ↗MengTo/Skills

Try your first task

A source-grounded starter task has not been verified for this skill yet.

SKILL.md

name: design-glass-game-huddescription: Design translucent toolbars, anchored inspectors and upgrade menus over moving 3D gameplay. Use when controls need to feel like glass while labels, focus and the action underneath stay readable.license: MIT

Glass game UI

Pick three test backgrounds from the game: bright grass or snow, dark water, and a busy roofline. Keep them available while tuning the HUD. A surface that looks legible over a menu mockup can disappear as soon as the player rotates the camera.

Build the panel from the text outward

Set the label, value, icon and disabled-state colors first. Give the panel a tinted backing that remains legible with backdrop sampling disabled. Add a fine edge highlight where it helps separate the panel from the world. Apply backdrop blur to the panel background. Render labels, numbers and icons above it at the display’s native density.

Use a persistent toolbar for tool selection and an inspector for actions on the selected object. In an upgrade list, show the current tier, the next tier, its price and what changes. Leave the panel open after purchase so the player can see the new state.

Keep a world-anchored inspector usable

Project the selected object’s anchor into CSS viewport coordinates each frame the camera moves. Measure the rendered panel, clamp it inside the viewport and flip it below the object when there is no space above. Let the world receive pointer input through empty overlay space. Give actual controls their own hit targets and visible keyboard focus.

Check it in motion

Pan behind an open menu at noon and at dusk. Read the smallest price, tab to an upgrade and activate it. Repeat at a narrow viewport with a long item name. For a recording, compare a 100% crop of the exported panel to the live HUD. Capture the UI and game at the same pixel size. Keep any cursor motion blur confined to the moving pointer.