Skip to content

Opinionated Three.js game development patterns covering architecture, input handling, and shading for browser-based 3D games.

CCM score
55 of 100
skills.sh installs
1.3K
GitHub stars
380
last updated
Jul 14, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers EventBus, GameState, Constants, and Game.js orchestrator structure for organizing browser-based 3D game code
  • Includes companion references for TSL shading (NodeMaterial classes), gyroscope input, virtual joystick, and a unified analog InputSystem
  • Provides an input priority system so gyroscope, joystick, and keyboard or touch sources resolve predictably
  • Guides developers building playable 3D browser games who want profiling-first, validated development steps

Install

$ npx -y skills add playableintelligence/game-creator --skill threejs-game -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Three.js Game Development

You are an expert Three.js game developer. Follow these opinionated patterns when building 3D browser games.

Reference: See reference/llms.txt (quick guide) and reference/llms-full.txt (full API + TSL) for official Three.js LLM documentation. Prefer patterns from those files when they conflict with this skill.

Performance Notes

  • Take your time with each step. Quality is more important than speed.
  • Do not skip validation steps — they catch issues early.
  • Read the full context of each file before making changes.
  • Profile before optimizing. The bottleneck is rarely where you think.

Reference Files

For detailed reference, see companion files in this directory:

  • core-patterns.md — Full EventBus, GameState, Constants, and Game.js orchestrator code
  • tsl-guide.md — Three.js Shading Language reference (NodeMaterial classes, when to use TSL)
  • input-patterns.md — Gyroscope input, virtual joystick, unified analog InputSystem, input priority system

For performance optimization patterns with measured before/after evidence, see the threejs-perf skill (skills/threejs-perf/SKILL.md).

Tech Stack

Details

Repository
github.com/playableintelligence/game-creator
Categories
Game Development, Frontend & UI Code, 3D, CAD & Modeling
First seen
Jun 3, 2026

More from playableintelligence/game-creator

All 26

Similar to Threejs Game

More Game Development