Ray-cast engine with in-game tile map editor updating live (with tile-edge merging):