Manage Game State

Use when structuring a PlayCanvas game's control flow — a small state machine such as ready, playing, paused, and over, pointer-lock capture, pausing on focus or pointer-lock loss, a full reset, and a stable clock and timestep — so the loop stays deterministic and recoverable.

playcanvas 0954ba6 2.8 KB Updated

File contents

playcanvas/skills/tree/main/skills/manage-game-state commit 0954ba6b27

Frequently asked questions

npx skillmds@latest add playcanvas/manage-game-state