Kart Drift Boost (tiers, windows, ramps)
/mechanic-kart-drift-boost
A GameSkill original: arcade kart drift-boost rules that reward skill. Drifts charge three tiers, release opens a 0.85 s window you must press in, counter-steer adds a CUT bonus, ramps give one air and one landing boost, boosts take the maximum instead of stacking, and walls cancel everything pending.
- 许可证
- MIT
- 出品
- GameSkill 出品
我们测过
在 Canvas 2D in Chrome 156 headless 上通过 40/40 项检查(2026-10-28):能触发、有可运行示例、有截图和自检清单、单一职责、中英文文档齐全。触发检查是把提示词和 skill 描述做匹配,不是真实 agent 运行。
测试报告GameSkill 测过的版本
GameSkill 为 gameskill.dev 原创编写并测过。ZIP 里是完整的 skill:SKILL.md 及中文版、脚本、可运行示例、测试、自检清单和我们的测试报告。
GameSkill 原创,协议 MIT。ZIP 保留 LICENSE 和 CREDITS.md,里面列出了流程灵感来源、CC0 测试素材和第三方库及其协议。

自检清单
- 松开漂移不会自动加速,要在窗口内按键 / Releasing a drift never boosts by itself; a press inside the window does
- 漂移小跳不会打开落地窗口 / A drift hop never opens a landing window
- 加速时间取最大值,不相加 / Boost time is the maximum, never the sum
- 撞墙取消蓄力和所有待用窗口 / Wall contact cancels the charge and every pending window
- 参考车手能跑完 3 圈并拿到 CUT、空中和落地加速 / The reference driver laps 3 times with CUT, air and landing boosts
- npm test 和 npm run test:browser 都通过 / npm test and npm run test:browser pass
中文指南
这个 skill 做什么
GameSkill 原创(MIT)。街机卡丁车的漂移加速规则:漂移分三档蓄力;松开后打开 0.85 秒的出弯窗口,要按键才加速;松开瞬间反打方向是 CUT 加成;冲上跳台空中能加速一次、落地再加速一次;加速时间取最大值不相加;撞墙会取消所有待用的窗口。规则全部在一个不依赖 DOM 的文件里,任何引擎都能移植。
什么时候用
- 在做卡丁车或街机赛车,想要马车式漂移、小喷、跳台特技
- 漂移加速会无限叠加、松开就自动加速没有技术含量,或者狂按小跳能刷加速
怎么装
下载本页的 ZIP,把 mechanic-kart-drift-boost/ 文件夹放进 .claude/skills/(Claude Code)或 .agents/skills/(Codex、Cursor),重启 agent。没有运行时依赖。
最小示例
示例《海湾卡丁车》:俯视椭圆赛道,三块金色跳台。node test/serve.mjs 后打开 http://localhost:8770/;↑ 油门、←→ 转向、Shift 漂移,松开后在窗口内按 E。加 ?autopilot 看参考车手怎么跑。
我们怎么测的
npm test 跑 16 个 Node 测试:蓄力档位、小跳不开落地窗口、没蓄满松开什么都没有、窗口过期、CUT 加成、跳台空中和落地加速、取最大值不相加、连击、撞墙取消、30 帧和 144 帧一致,以及参考车手跑 3 圈拿到所有类型的加速且几乎不撞墙。npm run test:browser 在无头 Chrome 里做 10 项检查,包括键盘漂移 → 窗口 → 按 E 加速、触屏按钮、没有控制台错误。
致谢
规则思路来自 awesome-gpt-6-astra 目录里 APEX CLUB 卡丁车的 README 文字说明(出弯窗口、反打 CUT、跳台空中和落地加速、取最大值、撞墙取消)。那个目录没有单独的开源协议,所以我们只读了文字说明,没有使用任何代码;代码、数值、赛道和文字都是我们写的。
搭配
game-feel:漂移火花、加速震屏、弹字web-audio-sfx-synth:漂移、加速、撞墙的合成音效physics-tuning:固定步长和碰撞的更多细节
安装
告诉你的 AI
Install the skill from https://gameskill.dev/skills/mechanic-kart-drift-boost/install.md
GameSkill 测过的版本
mkdir -p .claude/skills
curl -fsSL https://gameskill.dev/dl/skills/mechanic-kart-drift-boost.zip -o /tmp/gameskill-mechanic-kart-drift-boost.zip
unzip -oq /tmp/gameskill-mechanic-kart-drift-boost.zip -d .claude/skills
rm /tmp/gameskill-mechanic-kart-drift-boost.zip包含内容
- Bayside Kart: a top-down Canvas 2D stadium with ramps, keyboard and touch controls
- src/logic.js: drift with hop, three charge tiers, exit window, CUT bonus, ramp air and landing windows
- Boost time as max(remaining, new), a two-second combo, wall contact that cancels every window
- A fixed-step kart model, a stadium track with walls and a reference driver that laps it
- 16 Node tests and a 10-check headless Chrome test
适合
- Kart and arcade racers with drift, mini-turbo and ramp tricks
- Fixing drift boosts that stack, trigger automatically or can be spammed with hops
不适合
- Simulation racing physics (tyre models, weight transfer)
- Track editors or AI racing lines beyond the reference driver
试试这条提示词
Add drift boost with three charge levels and ramp tricks to my kart game, without boosts stacking forever.关于这个 Skill
A GameSkill original, written and tested for gameskill.dev under MIT. The demo, Bayside Kart: a top-down stadium with three ramps. All rules are in src/logic.js (no DOM); the page only draws, reads input and shows the open window.
Agent steps
- Fixed step (1/120 s); a boost press is consumed by one step only.
- Earn, then spend: drifting earns a tier, release opens a 0.85 s window, a press fires the boost. Nothing is automatic.
- CUT: counter-steer at release adds 0.3 s.
- Ramps: one air boost within 0.9 s of launch, one landing boost within 0.65 s of touchdown. Drift hops never count.
- Max, not sum for boost time; a boost within 2 s of the last one raises the combo.
- Walls cancel the charge and every pending window.
- Events out for sparks, pop-ups and sound; a reference driver proves the defaults are reachable.
Common errors it fixes
- Auto-boost on drift release, making drifting on straights optimal.
- Boost timers that add up into permanent top speed.
- Hop-spam for landing boosts.
Credits
Rule ideas from the written description of APEX CLUB — Bay Kart Grand Prix in the awesome-gpt-6-astra catalog. We read only its README; no code was used. Code, numbers, track and text are ours.
环境要求
- Any engine: the rules are plain JavaScript and port line by line
- Node.js 20+ to run the tests; Chrome for the browser check
相关主题
常见问题
基于 APEX CLUB — Bay Kart Grand Prix (rules from its README only) (作者 awesome-gpt-6-astra catalog,no licence of its own, no code used)的思路。代码和文字由 GameSkill 编写,ZIP 里的 CREDITS.md 列出所有来源。
搭配使用
作者标注的相关 Skills,或更适合相邻任务的 Skills。
Game Physics Tuning
Stable, good-feeling physics: fixed timestep with interpolation, mass and drag, CCD against tunneling, jitter fixes and collision layers.
Game Feel & Juice
Add juice to actions: screen shake, hit-stop, eased motion, squash and stretch, knockback and layered audio-visual feedback.
Game Input Systems
Game input architecture: action mapping, rebinding with conflict checks, keyboard, gamepad and touch, deadzones, buffering and coyote time.
相似 skills
open-game-skills
An MIT pack of about 190 SKILL.md agent skills for game design: combat feel, camera, traversal, world, validation, 2D/Spine and art pipeline, with a dispatcher and adapters for Three.js, PixiJS, Phaser, Cocos, Godot, Unity and Unreal.
One-button Flight (fair tap-to-flap)
A GameSkill original: the rules of a one-button flight game that is never unfair. Flaps set speed instead of adding it, a fixed-step simulation plays the same at 30 and 144 fps, the hitbox forgives grazes, and a seeded gap generator stays inside the reachable band, checked by an autopilot.
Procedural Low-Poly Buildings (kit, validator, views)
A GameSkill original: build stylised low-poly buildings in code from a small spec, then prove them: plot and height limits, a triangle budget per tier, closed outward meshes, supported parts, level roofs and side-only taper measured from silhouettes, plus front, side, top and 3/4 renders checked against the geometry.
Three.js FPS Weapon Feel (recoil, ADS, touch aim)
A GameSkill original: a learnable recoil pattern whose recovery never undoes the player's own compensation, aim-down-sights with matched sensitivity, spread you can draw as a crosshair, viewmodel bob, sway, kick and flash, and a phone chapter with a move stick, precision look zone and a fire button that aims.