r/programming • • Apr 23 '13

PathFinding algorithm, visually explained

http://qiao.github.io/PathFinding.js/visual/
2.2k Upvotes

230 comments sorted by

View all comments

Show parent comment

3

u/[deleted] Apr 24 '13

They're sometimes avoided on RPG games because it increases the number of opponents that can surround you by 50%

5

u/kazagistar Apr 24 '13

Dunno, Civ moved to hex. Battle for Wesnoth is one of my favorite tactics games ever, and it has hex. And look at the original fallout games, which use hex.

The main reason hexes are unpopular in RPGs is because it is hard to draw hex-art; it is so much easier to create tiling art assets for a square world.

4

u/daftmutt Apr 24 '13

Depends on if you allow attacking across diagonals in a square grid or not.