- 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.

Author: sitterheim, 24.07.2015, 10:57
Idea status: under consideration


Nobody commented on this idea

Leave a comment

Copyright - 2018 Informer Technologies, Inc. All Rights Reserved. Feedback system is used Idea.Informer.com