agentleFS
WhaocaiiWhaocaii/ai-game-skills/skills/day-night-cycle/SKILL.md

day-night-cycle

Skill4 starsChanged 2 months agoMITView on GitHub

设计日夜光照、环境颜色和天气过渡,让时间变化保持游戏可读性。用于 3D 或网页场景表现。 Design day-night lighting, weather transitions and readable environmental colors.

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.