game-ui-ux
Skill by gamedev-skills
Game UI/UX gives design rules and code patterns for game HUDs and menus that work across resolutions, aspect ratios and gamepad or keyboard input. It is for developers building UI in engines such as Godot or Unity.
Install game-ui-ux
Built from the published package, never by AI.
git clone --depth 1 https://github.com/gamedev-skills/awesome-gamedev-agent-skills /tmp/awesome-gamedev-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/awesome-gamedev-agent-skills/skills/disciplines/game-ui-ux ~/.claude/skills/game-ui-uxRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/gamedev-skills/awesome-gamedev-agent-skills /tmp/awesome-gamedev-agent-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/awesome-gamedev-agent-skills/skills/disciplines/game-ui-ux ~/.gemini/antigravity-cli/skills/game-ui-uxAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill covers the layout and behaviour of game HUDs, menus, inventories and overlays. It explains anchor and container layout, one scaling policy with a reference resolution, and safe-area insets for critical UI. It also covers gamepad focus navigation, a screen stack for menu flow, and HUDs that update from events instead of polling every frame.
The skill is engine-neutral and includes examples for Godot 4.7 and Unity 6.3. It gives a headless focus check and a size sweep at several resolutions to verify a UI. It is meant to pair with engine UI skills such as godot-ui-control or roblox-ui, and it does not cover button effects, dialogue or rebinding screens.
Written from the project's SKILL.md and checked against it.
What it can do
- Anchor and container layoutPlaces HUD elements with anchors, rows, columns and grids instead of fixed coordinates.
- Scaling policySets a reference resolution and an aspect rule for the whole UI, with expand or letterbox options.
- Safe-area insetsKeeps health, timers and prompts inside the safe area and reapplies them on resize.
- Gamepad focus navigationFocuses one control on open, fixes neighbours where needed and traps focus inside modals.
- Screen stackModels title, pause, settings and confirm screens as a stack so only the top screen takes input.
- Event-driven HUDUpdates health and score displays from signals and sets the initial value on connect.
- Headless focus checkOpens each screen in a script and fails if no control is focused.
- Size sweepLaunches the UI at 1280x720, 2560x1080 and 1080x2340 and saves a screenshot at each size.
- Accessibility minimumsLists text size, contrast and colour-only signal guidance from Xbox accessibility guidelines.
What you need
- Godot 4.7 or Unity 6.3 LTS, as referenced in the source
- Unity Input System package for Unity UI input
- A display or xvfb-run for the Godot size sweep
Try asking
- Make my pause menu work with both keyboard and gamepad focus.
- Set up anchors and a 1920x1080 reference scaling for my HUD.
- Convert my health bar from polling in _process to signal-driven updates.
Good to know
- Safe-area insets apply only on Android and iOS according to the Godot example.
- The Godot headless renderer draws nothing, so the size sweep needs a display or xvfb-run.
- Godot focus_behavior_recursive and mouse_behavior_recursive require Godot 4.5 or later.
- Engine widget APIs and themes are left to the engine-specific UI skills.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/disciplines/game-ui-ux/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md10 KB -
references/layout-and-flow.md7 KB
Alternatives to game-ui-ux
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
game-ui-ux: common questions
Does game-ui-ux work with Godot and Unity?
The source says the patterns are engine-neutral and includes examples for Godot 4.7 and Unity 6.3 LTS. It names godot-ui-control and roblox-ui as skills to pair with it.
How does it keep a HUD from breaking on different screen sizes?
It recommends anchors and containers instead of fixed positions, one scaling policy with a reference resolution, and safe-area insets for critical elements.
Does it help with gamepad-only menu navigation?
Yes. It covers focusing a control when a screen opens, distinct focus styles, focus trapping in modals and a manual test with the mouse unplugged.
How do I install game-ui-ux?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is game-ui-ux free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is game-ui-ux safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to game-ui-ux?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
