Imported from xt4d/GameBlocks (
gameblocks/SKILL.md). Install upstream withnpx skills add xt4d/GameBlocks --skill gameblocks. Copyright stays with the author.
GameBlocks
Use GameBlocks as source material before inventing 3D game systems from scratch.
Workflow
- Use
modules/math/WorldBasis.jsas the single source of truth for gameplay-space coordinates, forward/right/up axes, planar movement, heading, and control-signal transforms. - Review
summary.mdand select modules that can support the game implementation. Prioritize existing modules whenever possible, especially for motion controllers and camera rigs. - Copy each selected module into the target project's source directory while preserving its relative directory structure so imports continue to work. If a selected module fully satisfies the game design requirements, reuse it as-is. If it only partially satisfies the requirements, adapt it from the existing implementation instead of rewriting it from scratch.
- Create
gameblocks_usage.mddocumenting the selected modules, their purpose, reuse/adaptation status, key changes, and game integration.