Map Tiles Visible

by BostonBrooks   Last Updated September 25, 2017 07:13 AM

I have an isometric map broken up into terrain tiles. the area of the map on-screen is given by a rectangle rotated 45 degrees (in red below).

Given the position of the corners of the visible rectangle, how would I go about iterating over all visible tiles (shaded), such that no tile down or to the right of tile A is iterated upon before tile A

Related Questions

Mouse coordinates to Isometric world coordinates

Updated July 03, 2016 08:05 AM

Isometric tiles drawing and picking - JAVA

Updated September 14, 2017 08:13 AM

Whole map design vs. tiles array design

Updated April 18, 2019 14:13 PM