I made a mush arena one day for fun, and zoomed out, they were in squares. Is this an odd byproduct of the combat AI, or some optimisation thing?
External link →I made a mush arena one day for fun, and zoomed out, they were in squares. Is this an odd byproduct of the combat AI, or some optimisation thing?
External link →Yeah, that's part of optimisation!
The world is divided into square chunks, where units are cached based on their current kingdom (even mobs like demons have hidden 'wild' kingdoms under the hood).
When a unit looks for a threat or enemy, it first checks the chunks around it for enemy kingdoms, rather than going through all the surrounding tiles and individual units.
Which also works like a sight, which could result in this behaviour you see.