isles
isles copied to clipboard
Better unit movement
The unit movement was implemented using a pretty awkward "grid ownership" model: a unit owns a grid entirely, whenever a unit moves, it updates the underlying grid. This results in excessive path finding cost and jarring movements.
The idea is to use a 2D physics engine for unit collision detection and movement. Pathfinding can potentially be improved with flowfield later.