glitchassassin / screeps-cartographer

Cartographer is an advanced (and open source) movement library for Screeps
29 stars 8 forks source link

Implement a moveTo replacement which fully utilizes pathfinder args #1

Closed glitchassassin closed 2 years ago

glitchassassin commented 2 years ago

The current moveTo implementation doesn't support things like multiple targets, flee, etc.

Let's start with a basic improved moveTo that supports those additional options.

We should configure (at the library level) the caching strategy - either in heap, memory, or in a memory segment - for paths. This is mostly a precursor to being able to configure caching for other kinds of data - one-off paths will almost always be better cached in heap.