Isometric World

Drawing and storing isometric tiles

Click and drag on any tile to change its height. Isometric tiles are formed by drawing a rhombus whereby the sides form a 30 degree angle with the x-axis. This means that the height of the tile will be half its width. In order to give the tile depth, offset the y value of the rhombus by a depth value, then just fill in sides by drawing between the original rhombus and the offset rhombus. Converting to and from isometric/cartesian co-ordinates is fairly simple. In Haxe: