Algorithm to find all tiles within a given radius on staggered isometric map
Posted
by
kasztelan
on Game Development
See other posts from Game Development
or by kasztelan
Published on 2013-08-02T21:02:11Z
Indexed on
2013/11/02
4:11 UTC
Read the original article
Hit count: 458
Given staggered isometric map and a start tile what would be the best way to get all surrounding tiles within given radius(middle to middle)?
I can get all neighbours of a given tile and distance between each of them without any problems but I'm not sure what path to take after that. This feature will be used quite often (along with A*) so I'd like to avoid unecessary calculations.
If it makes any difference I'm using XNA and each tile is 64x32 pixels.
© Game Development or respective owner