Skip to content
Back to skills

Threejs Gameplay Systems

ASecurity

Design and implement playable Three.js game loops, architecture, controls, cameras, physics, levels, encounters, audio hooks, feedback, and game feel.

  • 125 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 24, 2026
developmentjavascripttypescriptpythongojavabashexpressapi

Works with

  • api
  • mcp

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned November 24, 2026

npx -y skills add mintdotgg/mint-threejs-skills --skill threejs-gameplay-systems --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Threejs Gameplay Systems?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Threejs Gameplay Systems
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mintdotgg-threejs-gameplay-systems/badge)](https://www.skillsdirectory.com/skills/mintdotgg-threejs-gameplay-systems)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: threejs-gameplay-systems
description: "Design and implement playable Three.js game loops, architecture, controls, cameras, physics, levels, encounters, audio hooks, feedback, and game feel."
---

# Three.js Gameplay Systems

Create a playable, maintainable loop with clear ownership and responsive
controls.

## Read By Need

- Always for implementation: `references/gameplay-workflows.md`.
- New games, major loop changes, levels, encounters, progression, or difficulty:
  `references/game-design-level-design.md`.
- Physics or collision-heavy work: `references/physics-engine-selection.md`.
- Model axes, constrained motion, multiple moving actors, or terrain queries:
  `../../references/spatial-contracts.md`.
- Feel, impact, juice, or polished gameplay: `references/game-feel.md`.
- Before claiming broad gameplay complete: `references/quality-gates.md`.
- Generated audio or 3D gameplay assets:
  `../../references/mint-mcp-assets.md`.

## Workflow

1. Inspect scripts, dependencies, loop ownership, input, camera, state, entities,
   UI, diagnostics, and current gameplay.
2. Define the player promise, primary verb, objective, pressure, reward,
   fail/retry path, skill expression, and non-goals.
3. Plan the first playable space or encounter: start, decision, threat, reward,
   escalation, recovery, and landmarks.
4. Choose small ownership boundaries such as `core`, `game`, `entities`,
   `systems`, `assets`, `ui`, and `tests`.
5. Implement in playable increments: input, state, entity, collision/physics,
   feedback, HUD/audio event, and diagnostics.
6. Tune movement, camera, timing, difficulty, feedback, and restart through
   short play loops.
7. Verify build, browser rendering, real input, objective progress, and
   fail/retry when relevant.

Gameplay code emits audio events. Mint-produced audio files belong in a stable
runtime asset matrix; Mint MCP calls never belong in browser code.

## New-Game Scaffold

```bash
python3 <this-skill-dir>/scripts/create_threejs_game.py ./my-game
```

Use `--force` only when overwriting the target is intended.

## Technical Defaults

- TypeScript, Vite, and Three.js modules.
- Custom collision for simple arcade triggers; Rapier for robust rigid-body
  gameplay; cannon-es only when its smaller JavaScript footprint is useful.
- Fixed-step simulation for physics and seeded randomness for deterministic QA.
- Shared resources, explicit update order, and allocation-light hot paths.
- Web Audio for playback; Mint MCP for generated production audio.

## Final Response

Report player-facing behavior, controls, design/level decisions when relevant,
architecture, tuned values, verification evidence, assets, and remaining edge
cases.

Files in this skill

  • SKILL.md2.6 KB
  • assets/threejs-vite-game/.gitignore61 B
  • assets/threejs-vite-game/index.html1.1 KB
  • assets/threejs-vite-game/package.json692 B
  • assets/threejs-vite-game/playwright.config.ts916 B
  • assets/threejs-vite-game/src/assets/gltf-runtime.ts1.2 KB
  • assets/threejs-vite-game/src/core/InputController.ts4.8 KB
  • assets/threejs-vite-game/src/core/Loop.ts800 B
  • assets/threejs-vite-game/src/core/Renderer.ts1.2 KB
  • assets/threejs-vite-game/src/entities/Pickup.ts1.5 KB
  • assets/threejs-vite-game/src/entities/Player.ts2.5 KB
  • assets/threejs-vite-game/src/game/Game.ts11 KB
  • assets/threejs-vite-game/src/main.ts336 B
  • assets/threejs-vite-game/src/styles.css2.8 KB
  • assets/threejs-vite-game/src/systems/AudioSystem.ts1.6 KB
  • assets/threejs-vite-game/src/systems/CameraRig.ts940 B
  • assets/threejs-vite-game/src/systems/CollisionSystem.ts669 B
  • assets/threejs-vite-game/src/systems/DebugTools.ts1023 B
  • assets/threejs-vite-game/src/systems/Hud.ts1.4 KB
  • assets/threejs-vite-game/src/utils/dispose.ts870 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.