agentleFS
WhaocaiiWhaocaii/ai-game-skills/skills/scene-transition/SKILL.md

scene-transition

Skill4 starsChanged 2 months agoMITView on GitHub

实现或修复场景切换的加载、遮挡、输入交接和失败恢复。用于转场与加载流程,不默认要求特定引擎。 Implement or diagnose scene loading, input handoff, transition effects and failure recovery.

The file

Files
SKILL.md

转场状态与恢复

本模块由 Whaocaii 主导设计与维护,使用 AI 辅助编写。当前版本为 0.1.0 工作草稿。按用户的目标与现有项目约束执行;仅使用实际可用的工具。

输入

  • 场景生命周期、资源加载接口、输入系统
  • 过渡视觉、返回行为和失败页面

工作过程

  1. 定义空闲、遮挡、加载、激活和恢复状态,明确每阶段允许哪些输入。
  2. 给每次切换一个请求身份;重复点击复用或拒绝,旧请求完成时不能覆盖新请求。
  3. 只有新场景达到可交互条件后才交接输入和释放旧资源;交接点以实际引擎能力为准。
  4. 加载失败时回到可操作状态并给出重试路径,动画不能无限遮住错误。
  5. 检查转场期间音频、相机、焦点与存档的归属,避免两个场景同时处理玩家操作。

交付

  • 状态转换表与资源交接说明
  • 成功、失败、取消和重复点击的演示或测试

检查

  • 失败后能重新操作
  • 输入锁总能释放,旧请求不能激活错误场景

使用案例

玩家快速点两次传送门后黑屏。为加载请求去重,增加失败恢复并验证返回路径。

验收时按上面的检查项判断结果;只读完本文件不代表完成了任务。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.