Whaocaii/ai-game-skills / skills/scene-transition
scene-transition
Verified实现或修复场景切换的加载、遮挡、输入交接和失败恢复。用于转场与加载流程,不默认要求特定引擎。 Implement or diagnose scene loading, input handoff, transition effects and failure recovery.
转场状态与恢复
本模块由 Whaocaii 主导设计与维护,使用 AI 辅助编写。当前版本为 0.1.0 工作草稿。按用户的目标与现有项目约束执行;仅使用实际可用的工具。
输入
- 场景生命周期、资源加载接口、输入系统
- 过渡视觉、返回行为和失败页面
工作过程
- 定义空闲、遮挡、加载、激活和恢复状态,明确每阶段允许哪些输入。
- 给每次切换一个请求身份;重复点击复用或拒绝,旧请求完成时不能覆盖新请求。
- 只有新场景达到可交互条件后才交接输入和释放旧资源;交接点以实际引擎能力为准。
- 加载失败时回到可操作状态并给出重试路径,动画不能无限遮住错误。
- 检查转场期间音频、相机、焦点与存档的归属,避免两个场景同时处理玩家操作。
交付
- 状态转换表与资源交接说明
- 成功、失败、取消和重复点击的演示或测试
检查
- 失败后能重新操作
- 输入锁总能释放,旧请求不能激活错误场景
使用案例
玩家快速点两次传送门后黑屏。为加载请求去重,增加失败恢复并验证返回路径。
验收时按上面的检查项判断结果;只读完本文件不代表完成了任务。
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |