Angle offset in pathfinding behavior

The top-down movement extension has isometry as an option, allowing a custom angle offset of around 4, or isometry plain and simple. With an angle offset of about 4, horizontal movement is disallowed on the top-down movement behavior, and I’m pretty sure the same could be handled without events, but just, on the object’s properties.

Pathfinding has no such thing. It either is omnidirectional, or 4-directional, but you don’t get to customize which 4 directions. If you have, say, an isometric rpg, but still want 4-directional movement, there is no way to make the pathfinder use only diagonals. This is inconvenient if you want nice, neat pathfinding as well as isometry. While I am not utterly opposed to using omindirectional pathfinding, it looks somewhat messy, so it wouldn’t be a bad idea to add the allowance for an angle offset to pathfinding.

If you use tiles, you can use the linked objects tool behavior to create isometric movements.

https://forum.gdevelop.io/t/pathfind-along-specified-path-in-isometric-game/46889/13?u=keith_1357

This is all good and well, for pac-man or some game where the player is on given paths, but if the area is somewhat open, that ceases to be a suitable fix.

1 Like