design-glass-game-hud

Created about 15 hours ago

attributes
additional_license_urlshttps://github.com/MengTo/Skills/blob/2f8cb46167bec49ee3c4a6ca37972fc065b6b47e/agent-skills/game-development/design-glass-game-hud/LICENSE
descriptionDesign 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.
licenseMIT
license_urlhttps://github.com/MengTo/Skills/blob/2f8cb46167bec49ee3c4a6ca37972fc065b6b47e/LICENSE
namedesign-glass-game-hud
publisherMengTo
repository_urlhttps://github.com/MengTo/Skills
source_urlhttps://github.com/MengTo/Skills/blob/2f8cb46167bec49ee3c4a6ca37972fc065b6b47e/agent-skills/game-development/design-glass-game-hud/SKILL.md
upstream_copyrightCopyright (c) 2026 Meng To
upstream_licenseMIT
upstream_revision2f8cb46167bec49ee3c4a6ca37972fc065b6b47e

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.


Copyright (c) 2026 Meng To

The license files are attached. MIT

The attached ZIP contains the pinned supporting files and applicable license notices.

Like how this is organised?

Build your own Memory tree on knowen.md: notes, decisions and tasks in one connected markdown graph, shared with your team and your AI agents.