home / skills / a5c-ai / babysitter / game-hud
/plugins/babysitter/skills/babysit/process/specializations/game-development/skills/game-hud
This skill helps design and implement game HUD elements like health bars and minimaps for clear, responsive in-game interfaces.
npx playbooks add skill a5c-ai/babysitter --skill game-hudReview the files below or copy the command above to add this skill to your agents.
---
name: game-hud
description: HUD design skill for health bars and minimaps.
allowed-tools: Read, Grep, Write, Bash, Edit, Glob, WebFetch
---
# Game HUD Skill
Heads-up display systems.
This skill provides practical patterns and reusable components for designing game HUD elements, with a focus on health bars and minimaps. It helps developers implement clear, performant, and player-friendly overlays that communicate vital status and spatial information. The content targets front-end game engineers and UI designers working in JavaScript-based projects.
The skill inspects typical HUD requirements and proposes component APIs, layout strategies, and rendering techniques for health bars and minimaps. It describes state-driven updates, efficient redraw approaches (layering, texture atlases, canvas/WebGL best practices), and interaction hooks for pings, tooltips, and toggles. Example implementation notes show how to integrate with game state and event systems.
Should health bars be world-space or screen-space?
Use world-space for context when proximity matters and screen-space for persistent visibility; combine both by showing world-space bars when nearby and a compact screen-space indicator otherwise.
How can I keep the minimap performant on low-end devices?
Render the minimap to an offscreen buffer at reduced resolution, update only on significant state changes, and use simple icon atlases instead of many draw calls.