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

TAG

PathFinder

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

发布于 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日/7 分钟/Screeps 错误排查

Screeps ERR_NO_PATH 怎么排查:目标范围、回调与跨房间路线

区分moveTo的ERR_NO_PATH、noPathFinding的ERR_NOT_FOUND和PathFinder incomplete,从目标范围、地形、回调、maxOps与出口逐步排查。

Screeps错误排查ERR_NO_PATH寻路PathFinder
发布于 2026年7月18日/更新于 2026年7月22日/8 分钟/Screeps 进阶开发

PathFinder CostMatrix 怎么设置道路、障碍和高成本格子

解释 CostMatrix 中 0、普通成本和 255 的含义,在 roomCallback 中处理道路、建筑、Creep 与自定义避让格,并检查 PathFinder.search 的完整结果。

Screeps进阶开发PathFinder寻路CostMatrix
linqingan.com

Making Screeps easier to learn, build and master.

AboutChangelogGitHubContact

Build. Learn. Solve. Repeat.