threejs-gameplay-systems

设计并实现可玩的 Three.js 游戏系统:包括游戏循环、架构、控制系统、摄像机、物理、关卡与遭遇、音频钩子、反馈机制和游戏手感的设计与实现。

仓库最近推送
GitHub Stars
126
Forks
11
Issues / PRs
1

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "threejs-gameplay-systems":https://skillpi.com/zh/skills/deepskill-d31b7e59070668a5fd7d701e0fd58ada4542ef940a5c2575ec75b805f2cc6cc2。安装前核对上游来源和版本:https://github.com/mintdotgg/mint-threejs-skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

设计并实现可玩的 Three.js 游戏系统:包括游戏循环、架构、控制系统、摄像机、物理、关卡与遭遇、音频钩子、反馈机制和游戏手感的设计与实现。

0 下载

介绍来源: third_party · mintdotgg · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
适合谁
来源文档未说明。
输入和输出
来源文档未说明。
软件、账号及付费要求
来源文档未说明。
限制与区别
来源文档未说明。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
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

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.

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值78/100

亮点

  • 提供 Three.js 游戏开发的全套 gameplay systems 设计与实现指导,涵盖游戏循环、控制系统、物理、关卡、音频、反馈等核心模块
  • 面向有实际开发需求的开发者,属于明确场景的通用工具,实用价值高
触发精准82/100

待提升项

  • 缺少 When to Use 章节 原报告严重程度:轻微

    文档中缺少显式的 When to Use 章节,用户可能不清楚具体适用场景

    改进建议:建议补充 When to Use 章节,明确说明该 Skill 适用的具体场景和用户群体

亮点

  • description 明确描述了功能范围,skill_body 中进一步细化了工作流、技术默认和 scaffold 脚本
  • 触发词覆盖合理,边界清晰
结构规范68/100

待提升项

  • 引用文件缺失 原报告严重程度:重大

    文档中引用了多个 references 文件(如 gameplay-workflows.md、game-design-level-design.md 等),但未传入这些文件

    改进建议:建议补充所有被引用的 references 文件,或调整文档结构避免依赖外部未传入文件

  • 文档结构缺少显式 When to Use 原报告严重程度:轻微

    文档结构中缺少显式的 When to Use 章节

    改进建议:建议补充 When to Use 章节,提升文档完整性

亮点

  • Phase/步骤清晰(Workflow 7 步),有出口条件(Final Response 要求报告内容)
  • 含端到端示例(New-Game Scaffold 脚本调用),frontmatter 完整
执行可靠75/100

待提升项

  • 引用文件缺失导致子功能执行失败风险 原报告严重程度:重大

    由于引用文件缺失,用户可能无法完整执行工作流中的某些步骤

    改进建议:建议补充所有被引用的 references 文件,或调整文档结构避免依赖外部未传入文件

亮点

  • 工具来源明确(Three.js、Rapier、cannon-es),参数正确(--force 覆盖)
  • 覆盖主要异常(--force 确认机制),不可逆操作有确认机制
证据可验 (前四项均值)76/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

来源文档未说明。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。