跳到正文
linqingan.com
LearnBuildSolveVerifyAPITools
ENOpen Doctor
知识库/文章标签/RoomPosition

TAG

RoomPosition

当前共有 2 篇文章使用这个长期主题标签。

发布于 2026年9月5日/7 分钟/Screeps 进阶开发

Screeps PathFinder.search():range、返回值与完整路径判断

正确使用 PathFinder.search() 设置 goal range,读懂 path、cost、ops、incomplete,并判断搜索是否真正完成,而不是只看 path 有没有内容。

ScreepsPathFinder寻路RoomPosition移动
发布于 2026年7月18日/更新于 2026年7月22日/6 分钟/Screeps 基础工程

RoomPosition 距离方法怎么选:range、相邻、同格与路径

比较getRangeTo、inRangeTo、isNearTo、isEqualTo、findClosestByRange和findClosestByPath,区分线性距离与真实可达路径。

Screeps基础工程RoomPosition距离寻路
linqingan.com

Making Screeps easier to learn, build and master.

AboutChangelogGitHubContact

Build. Learn. Solve. Repeat.