[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M792JF2X6GHG88A770PJ3HBC":3,"skill-same:01M792JF2X6GHG88A770PJ3HBC":62},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":31,"ownerHtmlUrl":32,"ownerBlogUrl":33,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M792JF2X6GHG88A770PJ3HBC","game-ui",null,"Design HUDs, menus and diegetic interfaces with controller navigation and readability at TV distance. Use when designing HUDs, inventory menus, or controller-first interfaces.","poorvith-mp\u002Fskills-gamedev","poorvith-mp","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F277478855?v=4","01M78Z5K0YH1Z3PX815PGQ96ND","Poorvith M P","01M792GVN0NZ9V49H6Q6BE3S1S",5,"MIT","https:\u002F\u002Fgithub.com\u002Fpoorvith-mp\u002Fskills-gamedev\u002Fblob\u002Fmain\u002Fskills\u002Fgame-ui\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: game-ui\nlast_reviewed: 2026-09-06\ngroup: Craft\ndescription: >-\n  Design HUDs, menus and diegetic interfaces with controller navigation and readability at TV\n  distance. Use when designing HUDs, inventory menus, or controller-first interfaces.\n---\n\n# game-ui\n\n## Core Philosophy\nUser Interface (UI) design for video games is fundamentally different from web or SaaS design. Game UI exists in service of immersion, situational awareness, and gameplay flow. A cluttered, opaque web-style dashboard pasted over a 3D game world shatters immersion. Game UI requires strict classification across diegetic and non-diegetic layers, controller-first spatial navigation (the 10-foot television rule), rapid glanceability during high-stress combat, and responsive resolution scaling.\n\n---\n\n## 4-Step Game UI & HUD Architecture\n\n### Step 1: The 4 Interface Immersion Layers\n1. **UI Layer Classification**:\n   - *Diegetic UI*: Exists inside the physical 3D game world and is experienced by the character (e.g. Dead Space holographic health spine, Pip-Boy wrist computer, physical map held in character hands).\n   - *Non-Diegetic UI*: Traditional 2D screen overlay completely invisible to the character (e.g. Health bar at top-left, floating minimap, pause menu).\n   - *Spatial UI*: UI elements positioned in the 3D world but invisible to the character (e.g. floating waypoint markers over mission objectives, player name tags).\n   - *Meta UI*: Visual effects representing character state on screen (e.g. blood splatters on screen when injured, water droplets on camera lens).\n\n### Step 2: The 10-Foot Television Rule & TV Safe Zones\n1. **Console & TV Legibility (The 10-Foot Rule)**:\n   - A player sitting 10 feet away from a 55-inch television cannot read 12pt web fonts.\n   - *Minimum Font Sizing*: Body text must be **at least 24pt to 28pt** on a 1080p canvas (scaled up proportionally for 4K).\n2. **Action Safe & Title Safe Margins**:\n   - Television bezels crop screen edges (overscan). Keep all critical HUD elements (health, ammo, minimap) within the **Title Safe Zone** (minimum **10% margin** from screen edges).\n\n### Step 3: Controller-First Spatial Navigation\n1. **Deterministic D-Pad \u002F Thumbstick Focus**:\n   - Gamepad navigation does not have a mouse cursor. Moving the analog stick must jump focus deterministically to the next spatial neighbor.\n2. **Visual Focus Feedback**:\n   - The currently focused menu item must be unmistakably obvious: high-contrast outline border, subtle scale-up (1.05x), and distinct audio navigation clicks.\n3. **Dedicated Gamepad Button Legends**:\n   - Always display controller button prompts on screen matching the active hardware (e.g. `(A) Select`, `(B) Back`, `(X) Reload`). Automatically swap prompt icons between Xbox, PlayStation, and Keyboard when input devices switch.\n\n### Step 4: Combat Glanceability & HUD Hierarchy\n1. **The F-Pattern Combat Glance**:\n   - In high-speed combat, players have $\u003C 100text{ms}$ to check vital signs.\n   - Anchor vital telemetry (Health, Shield, Primary Ammo) close to the screen periphery or clustered near the center reticle.\n   - Use high-contrast color coding: Green\u002FBlue (Shields), Red (Low Health), Flashing Amber (Low Ammo).\n\n---\n\n## Deliverable Format: Game UI \u002F HUD Specification (`GAME-UI-SPEC.md`)\n\n```markdown\n# Game Interface & HUD Specification: [Game Title]\n\n## 1. UI Layer Taxonomy & Immersion Strategy\n- **Combat HUD**: Non-Diegetic minimalist HUD (Fades out when out of combat)\n- **Inventory System**: Spatial Diegetic backpack inspection\n- **World Waypoints**: Spatial floating 3D markers with distance meters\n\n## 2. Television Safe Zones & Resolution Scaling\n- **Reference Canvas**: 1920x1080 (Scales dynamically via UI Canvas Scaler to 4K)\n- **Title Safe Margin**: 10% inset (96px horizontal, 54px vertical)\n- **Minimum Body Typography**: 26pt bold font\n- **Color Contrast**: All HUD text uses 2px dark drop shadow (`rgba(0,0,0,0.85)`) to ensure legibility against bright skyboxes.\n\n## 3. Controller Navigation Map (Main Menu \u002F Inventory)\n| Input Button | Action Triggered | Visual Feedback | Audio Cue |\n|---|---|---|---|\n| D-Pad Up \u002F Down | Jump focus to neighbor | 1.05x scale + 2px gold border | `ui_focus_move.wav` |\n| Face Button South (A \u002F Cross) | Select \u002F Confirm | Button depress + white flash | `ui_select_confirm.wav` |\n| Face Button East (B \u002F Circle) | Back \u002F Close Menu | Instant screen pop | `ui_cancel_back.wav` |\n| Left Trigger \u002F Right Trigger | Switch inventory tabs | Sliding tab indicator | `ui_tab_switch.wav` |\n\n## 4. Combat HUD Glancing Layout\n- **Top-Left**: Player Level & Team Health Bars\n- **Bottom-Right**: Active Weapon Silhouette, Magazine Counter (Huge 48pt text), Grenade icons\n- **Bottom-Center**: Ultimate Ability readiness ring (Glows when 100% charged)\n```\n\n---\n\n## Worked Example: Fixing Tiny Text in a Console Port\n\n- **Problem**: PC game was ported to Steam Deck and Xbox; playtesters complained they could not read weapon stats or inventory descriptions.\n- **Remediation**: Implemented a responsive UI scaling mode for handheld\u002FTV screens. Increased minimum body text from 14pt to 26pt; added a high-contrast dark backing card behind weapon comparison tooltips.\n- **Outcome**: Steam Deck verified status achieved; zero negative reviews regarding text legibility.\n\n---\n\n## Verification Checklist\n\n- [ ] All critical HUD telemetry placed within the 10% Title Safe boundary.\n- [ ] Typography adheres to the 10-foot rule (minimum 24pt+ on 1080p).\n- [ ] Gamepad navigation supports deterministic D-pad focus hopping with clear visual selection state.\n- [ ] Button prompts dynamically update when switching between Xbox, PlayStation, and Keyboard.\n- [ ] HUD text includes drop shadows or backings to remain readable against bright 3D backgrounds.\n\n---\n\n## Anti-Patterns\n\n- **Microscopic PC Text on TV**: Forcing console players to squint at 11pt inventory text.\n- **Mouse-Only Menu Design**: Requiring console players to drag an artificial virtual mouse cursor with an analog stick.\n- **HUD Clutter**: Covering 60% of the game screen with static meters, blocking the player's view of the game world.\n","# game-ui\n\n## Core Philosophy\nUser Interface (UI) design for video games is fundamentally different from web or SaaS design. Game UI exists in service of immersion, situational awareness, and gameplay flow. A cluttered, opaque web-style dashboard pasted over a 3D game world shatters immersion. Game UI requires strict classification across diegetic and non-diegetic layers, controller-first spatial navigation (the 10-foot television rule), rapid glanceability during high-stress combat, and responsive resolution scaling.\n\n---\n\n## 4-Step Game UI & HUD Architecture\n\n### Step 1: The 4 Interface Immersion Layers\n1. **UI Layer Classification**:\n   - *Diegetic UI*: Exists inside the physical 3D game world and is experienced by the character (e.g. Dead Space holographic health spine, Pip-Boy wrist computer, physical map held in character hands).\n   - *Non-Diegetic UI*: Traditional 2D screen overlay completely invisible to the character (e.g. Health bar at top-left, floating minimap, pause menu).\n   - *Spatial UI*: UI elements positioned in the 3D world but invisible to the character (e.g. floating waypoint markers over mission objectives, player name tags).\n   - *Meta UI*: Visual effects representing character state on screen (e.g. blood splatters on screen when injured, water droplets on camera lens).\n\n### Step 2: The 10-Foot Television Rule & TV Safe Zones\n1. **Console & TV Legibility (The 10-Foot Rule)**:\n   - A player sitting 10 feet away from a 55-inch television cannot read 12pt web fonts.\n   - *Minimum Font Sizing*: Body text must be **at least 24pt to 28pt** on a 1080p canvas (scaled up proportionally for 4K).\n2. **Action Safe & Title Safe Margins**:\n   - Television bezels crop screen edges (overscan). Keep all critical HUD elements (health, ammo, minimap) within the **Title Safe Zone** (minimum **10% margin** from screen edges).\n\n### Step 3: Controller-First Spatial Navigation\n1. **Deterministic D-Pad \u002F Thumbstick Focus**:\n   - Gamepad navigation does not have a mouse cursor. Moving the analog stick must jump focus deterministically to the next spatial neighbor.\n2. **Visual Focus Feedback**:\n   - The currently focused menu item must be unmistakably obvious: high-contrast outline border, subtle scale-up (1.05x), and distinct audio navigation clicks.\n3. **Dedicated Gamepad Button Legends**:\n   - Always display controller button prompts on screen matching the active hardware (e.g. `(A) Select`, `(B) Back`, `(X) Reload`). Automatically swap prompt icons between Xbox, PlayStation, and Keyboard when input devices switch.\n\n### Step 4: Combat Glanceability & HUD Hierarchy\n1. **The F-Pattern Combat Glance**:\n   - In high-speed combat, players have $\u003C 100text{ms}$ to check vital signs.\n   - Anchor vital telemetry (Health, Shield, Primary Ammo) close to the screen periphery or clustered near the center reticle.\n   - Use high-contrast color coding: Green\u002FBlue (Shields), Red (Low Health), Flashing Amber (Low Ammo).\n\n---\n\n## Deliverable Format: Game UI \u002F HUD Specification (`GAME-UI-SPEC.md`)\n\n```markdown\n# Game Interface & HUD Specification: [Game Title]\n\n## 1. UI Layer Taxonomy & Immersion Strategy\n- **Combat HUD**: Non-Diegetic minimalist HUD (Fades out when out of combat)\n- **Inventory System**: Spatial Diegetic backpack inspection\n- **World Waypoints**: Spatial floating 3D markers with distance meters\n\n## 2. Television Safe Zones & Resolution Scaling\n- **Reference Canvas**: 1920x1080 (Scales dynamically via UI Canvas Scaler to 4K)\n- **Title Safe Margin**: 10% inset (96px horizontal, 54px vertical)\n- **Minimum Body Typography**: 26pt bold font\n- **Color Contrast**: All HUD text uses 2px dark drop shadow (`rgba(0,0,0,0.85)`) to ensure legibility against bright skyboxes.\n\n## 3. Controller Navigation Map (Main Menu \u002F Inventory)\n| Input Button | Action Triggered | Visual Feedback | Audio Cue |\n|---|---|---|---|\n| D-Pad Up \u002F Down | Jump focus to neighbor | 1.05x scale + 2px gold border | `ui_focus_move.wav` |\n| Face Button South (A \u002F Cross) | Select \u002F Confirm | Button depress + white flash | `ui_select_confirm.wav` |\n| Face Button East (B \u002F Circle) | Back \u002F Close Menu | Instant screen pop | `ui_cancel_back.wav` |\n| Left Trigger \u002F Right Trigger | Switch inventory tabs | Sliding tab indicator | `ui_tab_switch.wav` |\n\n## 4. Combat HUD Glancing Layout\n- **Top-Left**: Player Level & Team Health Bars\n- **Bottom-Right**: Active Weapon Silhouette, Magazine Counter (Huge 48pt text), Grenade icons\n- **Bottom-Center**: Ultimate Ability readiness ring (Glows when 100% charged)\n```\n\n---\n\n## Worked Example: Fixing Tiny Text in a Console Port\n\n- **Problem**: PC game was ported to Steam Deck and Xbox; playtesters complained they could not read weapon stats or inventory descriptions.\n- **Remediation**: Implemented a responsive UI scaling mode for handheld\u002FTV screens. Increased minimum body text from 14pt to 26pt; added a high-contrast dark backing card behind weapon comparison tooltips.\n- **Outcome**: Steam Deck verified status achieved; zero negative reviews regarding text legibility.\n\n---\n\n## Verification Checklist\n\n- [ ] All critical HUD telemetry placed within the 10% Title Safe boundary.\n- [ ] Typography adheres to the 10-foot rule (minimum 24pt+ on 1080p).\n- [ ] Gamepad navigation supports deterministic D-pad focus hopping with clear visual selection state.\n- [ ] Button prompts dynamically update when switching between Xbox, PlayStation, and Keyboard.\n- [ ] HUD text includes drop shadows or backings to remain readable against bright 3D backgrounds.\n\n---\n\n## Anti-Patterns\n\n- **Microscopic PC Text on TV**: Forcing console players to squint at 11pt inventory text.\n- **Mouse-Only Menu Design**: Requiring console players to drag an artificial virtual mouse cursor with an analog stick.\n- **HUD Clutter**: Covering 60% of the game screen with static meters, blocking the player's view of the game world.\n",{"name":5,"group":24,"description":7,"last_reviewed":25},"Craft",1788652800000,"main","d661d370a67c4532034e3d1d87c4aec237077f34","skills\u002Fgame-ui",0,"https:\u002F\u002Fgithub.com\u002Fpoorvith-mp\u002Fskills-gamedev","https:\u002F\u002Fgithub.com\u002Fpoorvith-mp\u002Fskillary","https:\u002F\u002Fgithub.com\u002Fpoorvith-mp","poorvithmp.com","Shipping tools for problems people notice too late.","2026-10-02 21:32:36",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add poorvith-mp\u002Fskills-gamedev --skill game-ui",{"tool":42,"command":43},"bunx","bunx skills add poorvith-mp\u002Fskills-gamedev --skill game-ui",{"tool":45,"command":46},"pnpm","pnpm dlx skills add poorvith-mp\u002Fskills-gamedev --skill game-ui","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fpoorvith-mp\u002Fskills-gamedev\u002Fblob\u002Fmain\u002Fskills\u002Fgame-ui\u002FSKILL.md",true,[50,56],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"evals\u002Frouting.yaml","REFERENCE","参考文档",947,"https:\u002F\u002Fgithub.com\u002Fpoorvith-mp\u002Fskills-gamedev\u002Fblob\u002Fmain\u002Fskills\u002Fgame-ui\u002Fevals\u002Frouting.yaml",{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"game-ui.skill","OTHER","其他",3740,"https:\u002F\u002Fgithub.com\u002Fpoorvith-mp\u002Fskills-gamedev\u002Fblob\u002Fmain\u002Fskills\u002Fgame-ui\u002Fgame-ui.skill",[63,70,77,84,91,98],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M792N6JWJ1J9XBK6HKFHWRHA","unreal-worlds","Build open worlds with World Partition, Landscape, procedural foliage, HLOD and level streaming. Use when sculpting landscapes, biomes, or World Partition in Unreal.","https:\u002F\u002Fgithub.com\u002Fpoorvith-mp\u002Fskills-gamedev\u002Fblob\u002Fmain\u002Fskills\u002Funreal-worlds\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M792N3JHMS0FWY4YJJ4X60PV","unreal-world-builder","Moved to unreal-worlds in skills-gamedev. Removed in v4.1.","https:\u002F\u002Fgithub.com\u002Fpoorvith-mp\u002Fskills-gamedev\u002Fblob\u002Fmain\u002Fskills\u002Funreal-world-builder\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M792N0XGH0E9XK3ZCR34Z18B","unreal-technical-artist","Moved to unreal-tech-art in skills-gamedev. Removed in v4.1.","https:\u002F\u002Fgithub.com\u002Fpoorvith-mp\u002Fskills-gamedev\u002Fblob\u002Fmain\u002Fskills\u002Funreal-technical-artist\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M792MXKCZ26XGP5RDQHDWRWS","unreal-tech-art","Own the UE5 visual pipeline: Material Editor, Niagara VFX and Procedural Content Generation. Use when creating Unreal materials, Niagara visual effects, or Lumen setups.","https:\u002F\u002Fgithub.com\u002Fpoorvith-mp\u002Fskills-gamedev\u002Fblob\u002Fmain\u002Fskills\u002Funreal-tech-art\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M792MRZ9PB1MNFKPNVDB5AJP","unreal-systems","Work the C++\u002FBlueprint continuum with Nanite, Lumen and the Gameplay Ability System. Use when developing Unreal Engine gameplay in C++, Blueprints, or GAS.","https:\u002F\u002Fgithub.com\u002Fpoorvith-mp\u002Fskills-gamedev\u002Fblob\u002Fmain\u002Fskills\u002Funreal-systems\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M792MQGJ5S2EFDAD5BN5B8V3","unreal-systems-engineer","Moved to modernized catalog in skillary. Removed in v4.1.","https:\u002F\u002Fgithub.com\u002Fpoorvith-mp\u002Fskills-gamedev\u002Fblob\u002Fmain\u002Fskills\u002Funreal-systems-engineer\u002FSKILL.md",[],[]]