agentleFS
gosomeagosomea/dsh-godot-ai/skills/godot-multiplayer/SKILL.md

godot-multiplayer

Skill9 starsChanged 3 months agoMITView on GitHub

设计 Godot 高层多人游戏:authority、RPC、MultiplayerSpawner/Synchronizer、状态复制、延迟与安全边界。

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Godot Multiplayer

  • 先定义 authoritative peer。客户端发送意图,权威端验证并修改状态;不要信任客户端传来的伤害、位置或物品结果。
  • RPC 显式声明 mode、transfer mode、channel 和 call_local;可靠通道用于关键离散事件,不可靠有序通道用于高频状态。
  • MultiplayerSpawner 管出生/销毁,MultiplayerSynchronizer 管可复制属性;NodePath 和场景结构必须在各 peer 一致。
  • 输入、本地预测、服务器校正和插值分层,先让两端确定性状态正确,再优化手感。
  • 单编辑器成功不代表联网正确;至少覆盖 host、client、断线、重连和权限拒绝。

godot-ai 可用于构建场景、脚本和单实例运行验证,但多进程/多 peer 拓扑可能需要项目现有测试或外部进程。明确哪些路径已在编辑器验证,哪些仍需真实网络测试;不要把单 session 结果冒充多人验收。

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.