2D Platformer
/platformer
Build a 2D platformer: run/jump control with coyote time, jump buffering, and variable jump height, plus tiled levels and hazards.
- 许可证
- Apache-2.0
- 出品
- GameSkill 出品
所属合集
Awesome Gamedev Agent Skills
77 portable SKILL.md skills across 12 engines (Godot, Unity, Unreal, Phaser, PixiJS, three.js, Bevy, pygame, LÖVE, Roblox, Defold, Ebitengine), with a router.
我们测过
在 Godot 4.7.2 上通过 31/31 项检查(2026-10-30):能触发、有可运行示例、有截图和自检清单、单一职责、中英文文档齐全。触发检查是把提示词和 skill 描述做匹配,不是真实 agent 运行。
测试报告这个 skill 做什么
什么时候触发
Build a 2D platformer: run/jump control with coyote time, jump buffering, and variable jump height, plus tiled levels and hazards. Use for a platformer or Mario/Celeste-like, or tuning jump feel.
GameSkill 测过的版本
GameSkill 调优版:skill 文件取自提交 19d93f97c9c1,按我们的 skill 流程加上可运行示例、测试报告、自检清单和中文指南。
协议:基于 gamedev-skills/awesome-gamedev-agent-skills(作者 gamedev-skills),协议 Apache-2.0。ZIP 保留协议文件(LICENSE, NOTICE),CHANGES.md 列出了 GameSkill 加的所有文件。

自检清单
- 重力和起跳速度由跳高和到顶时间推出来,不手调 / Gravity and jump velocity come from jump height and time to apex
- 土狼时间和跳跃缓冲各有自己的计时器 / Coyote time and the jump buffer have their own timers
- 松开跳跃键时截短上升 / Releasing jump cuts the rise
- 贴墙下滑限制最大下落速度 / Wall slide caps the fall speed
- 加速度按每秒算,乘以时间步长 / Accelerations are per second and scale by delta
中文指南
这个 skill 做什么
2D 平台跳跃的操作手感:由跳跃高度和到顶时间推出重力和起跳速度、下落时加重重力、顶点附近减轻重力、土狼时间(离开平台后的短暂可跳窗口)、跳跃缓冲、松键截短跳跃、贴墙下滑和蹬墙跳,以及危险区重生。
什么时候用
- 调平台跳跃的手感
- 加土狼时间、跳跃缓冲和可变跳高
- 做贴墙下滑和蹬墙跳
怎么装
下载本页的 ZIP,把 platformer/ 整个文件夹放进 agent 的 skills 文件夹:Claude Code 用 .claude/skills/,Codex、Gemini CLI、OpenCode 用 .agents/skills/,Cursor 用 .cursor/skills/,Copilot 用 .github/skills/,Windsurf 用 .windsurf/skills/,然后重启 agent。也可以直接对 agent 说:Install the skill from https://gameskill.dev/skills/platformer/install.md
最小示例
gameskill/examples/ 是一个 Godot 4.7 工程:player.gd 是 CharacterBody2D 控制器(step() 方法可以直接驱动,测试不依赖输入单例),hazard.gd 是危险区,main.gd 画出地面、墙和跳跃弧线。
我们怎么测的
总分 31/31。在 Godot 4.7.2 无头模式、60 Hz 物理下跑 19 项检查:重力和起跳速度符合公式,实测跳高接近设计值;松键的小跳比满跳低;走出平台边缘后的 0.1 秒内还能跳,超过窗口就不能;落地前按跳会在落地时起跳;贴墙下滑限制下落速度;蹬墙跳往墙的反方向弹出;同样 0.05 秒的输入,在 60 Hz 和 20 Hz 下加速到同一速度。初稿里的土狼时间和帧率测试写错了(角色根本没离开平台),我们重写了这两项。结果在 gameskill/test-report.json。
搭配
godot-2d-movement:Godot 2D 移动的基础level-design:按跳跃参数排平台间距game-feel:落地和跳跃的反馈
安装
告诉你的 AI
Install the skill from https://gameskill.dev/skills/platformer/install.md
GameSkill 测过的版本
mkdir -p .claude/skills
curl -fsSL https://gameskill.dev/dl/skills/platformer.zip -o /tmp/gameskill-platformer.zip
unzip -oq /tmp/gameskill-platformer.zip -d .claude/skills
rm /tmp/gameskill-platformer.zip包含内容
- Worked steps: Solve jump physics from height + time; Coyote time + jump buffer + variable height; One-way platforms
- A pitfalls section with the mistakes to avoid
- Bundled 1 reference doc the agent reads when needed
适合
- A precision or run-and-jump platformer, or tuning jump feel
试试这条提示词
Build a precision platformer controller with coyote time, jump buffering and variable jump height.关于这个 Skill
Build a 2D platformer: run/jump control with coyote time, jump buffering, and variable jump height, plus tiled levels and hazards. Use for a platformer or Mario/Celeste-like, or tuning jump feel.
From the platformer SKILL.md in gamedev-skills/awesome-gamedev-agent-skills.
What's inside
- Core loop
- Must-have systems
- Design knobs (make the jump feel right)
- Solve jump physics from height + time (not magic numbers)
- Coyote time + jump buffer + variable height (the feel core)
- One-way platforms
- Composition (build it from these skills)
常见问题
2D 打击感与卡牌交互套件 Combat Feel & Card UX Kit
把漂浮无力的原型直接拉到商业 2D 手感(JS/TS + Godot 4 + Unity 三端源码):5 层打击感(83-150ms 顿帧、2帧白+4帧染、±18px 错位跳字)、零音频三频音效、扇形手牌拖拽贝塞尔瞄准线与 0.30 秒金卡全息揭晓。
- EP10 五层打击感:距离过桥、83–150ms 顿帧、2帧纯白+4帧染色、±18px 错位跳字
- EP12 无按钮扇形手牌 + 悬停抬起推开 + 杀戮尖塔同款贝塞尔瞄准弧线
基于 gamedev-skills/awesome-gamedev-agent-skills (作者 gamedev-skills,协议 Apache-2.0)。ZIP 里保留原作者的 LICENSE 和 NOTICE,ATTRIBUTION.md 和 CHANGES.md 写明来源提交和 GameSkill 加的内容。
Awesome Gamedev Agent Skills 中的更多 Skills
查看全部 48 个Behavior Trees & Utility AI
Build a behavior-tree runtime and a Utility AI system with response curves, plus hybrid agents where the behavior tree drives utility scoring.
Bevy ECS
Structure a Bevy app around ECS: plugins, components and resources, systems with Query and Commands, system ordering and Time.
Card Game
Build a card game: card data, deck/hand/discard zones, draw/shuffle/reshuffle, a turn structure, costs, and effect resolution.
Create Game Assets
Plan, generate, source, normalize, and validate cohesive visual game assets.
相似 skills
Novel to Game
Agent skills for source-grounded adaptation of novels into games: cited design docs, target-runtime builds and evidence-based QA.
Novel to Game: Art Direction
Direct game art and creative vision.
Novel to Game: Book Analysis
Deconstruct a novel for game adaptation.
Novel to Game: Concept
Design game concepts from a novel.