The TilemapKit Roadmap is yours! All the ideas and discussions
3 votes Vote

TK: get all tiles in a given (tile) radius

Given a radius (in tile coordinates) TilemapKit should return a (mutable) list of tile GIDs in that radius.

With those GIDs one can then test each tile's properties to perhaps remove them from the list.

For instance this could be used to highlight all tiles the currently selected unit can move to in the current turn, with all blocked tiles removed. It may be helpful to get each tile's coordinate as well, for instance to be able to check if another dynamic game object occupies the tile's coordinate.

sitterheim, 24.07.2015, 09:57
Idea status: under consideration


Leave a comment