html5-canvas-game

Installation
SKILL.md

When to Use

Use this skill when building a browser game with hand-controlled rendering: 2D sprites, particles, custom shaders, or pixel-precise visuals from AI-art/SVG assets. This is the lightest web-delivery path (zero framework, zero build step).

Prefer this over three-js-web-game when you don't need a 3D scene graph. Reach for Canvas2D first; drop to raw WebGL only when Canvas2D stalls (see Procedure Step 10).

Trauma-informed default: every scene must be pausable and interruptible. Never lock the player in an unskippable sequence, never autoplay loud audio, and keep pacing under the player's control. Wire Escape/P → pause on day one, not later.

Prerequisites

  • Host: Windows (PowerShell primary)
  • Browser: Google Chrome (for standard and headless verification)
  • Server: Node.js (for npx serve) or Python (for python -m http.server)
  • Assets: Rasterized images/SVGs from game-art-pipeline

Procedure

1. Project shape

Installs
1
First Seen
2 days ago