一键导入
godot-player-hud
Player HUD system for health bars and heart-based HP display. Use when the user mentions health bars, HUD, HP display, or heart-based health.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Player HUD system for health bars and heart-based HP display. Use when the user mentions health bars, HUD, HP display, or heart-based health.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | godot-player-hud |
| description | Player HUD system for health bars and heart-based HP display. Use when the user mentions health bars, HUD, HP display, or heart-based health. |
Displays player HUD elements such as health bars and heart-based HP.
| Name | Path |
|---|---|
| PlayerHud | res://GUI/PlayeHUD/player_hud.tscn |
GUI/PlayeHUD/
├── player_hud.gd/.tscn # Main HUD scene
└── heart_gui.gd/.tscn # Heart health component
# In the player script
func update_hp(delta: int) -> void:
hp = clamp(hp + delta, 0, max_hp)
PlayerHud.update_hp(hp, max_hp)
The heart sprite sheet should contain 5 horizontal frames:
See references/code/ for the full implementation.
Dialog system for NPC conversations, branching choices, portrait animation, and typewriter text. Use when the user mentions dialog systems, NPC dialog, branching dialog, or dialog choices.
Enemy AI system with state-machine-driven behavior such as idle, chase, attack, and related states. Use when the user mentions enemy AI, monster behavior, chasing, or patrol enemies.
Combat collision system based on HitBox and HurtBox. Use when the user mentions attack detection, damage systems, combat collisions, HitBox, or HurtBox.
Inventory system for item slots, inventory UI, and item add/remove operations. Use when the user mentions inventory, inventory UI, or item management.
Item system for item definitions, effect systems, and pickup logic. Use when the user mentions items, pickups, loot, or drop objects.
Level transition system for scene changes, transition animation, and player placement management. Use when the user mentions scene transitions, level transitions, portals, or transition animation.