phaser-hud-component-patterns

Installation
SKILL.md

Phaser HUD Component Patterns

Overview

Reusable patterns for implementing HUD elements in Phaser games. Accelerate HUD implementation and ensure consistency.

HUD Background Pattern

  • Use Phaser.GameObjects.Graphics for rounded rectangles
  • Set depth to 100+ to appear above game elements
  • Use semi-transparent backgrounds (alpha: 0.7-0.8)
  • Position relative to camera dimensions

Text Element Pattern

  • Position text relative to HUD background
  • Set depth to 101+ (above background)
  • Use consistent font families and sizes
  • Update text in real-time via setText()
Installs
8
GitHub Stars
2
First Seen
Mar 18, 2026
phaser-hud-component-patterns — pmarashian/cursor-agent-skills