17 Jan 14, 09:07AM
(This post was last modified: 17 Jan 14, 09:11AM by TheNihilanth.)
It's an aberration and an abomination to say that a square is a cube if you try to assimilate it in a mathematical way. It's true.
But it is enough to deal with map creation in ac. If you want some sort of mathematical answer, then dive into the concept of heightfields, in short a heighfield is a one-to-one function [h: R^2 => N]. That is, in the plane XY for every square x and y you see in the editor there is one and only one height h. There are two heightfields, floor and ceiling, everything between them is what is rendered. Such function is the reason there cannot be rooms over rooms without using map models.
But it is enough to deal with map creation in ac. If you want some sort of mathematical answer, then dive into the concept of heightfields, in short a heighfield is a one-to-one function [h: R^2 => N]. That is, in the plane XY for every square x and y you see in the editor there is one and only one height h. There are two heightfields, floor and ceiling, everything between them is what is rendered. Such function is the reason there cannot be rooms over rooms without using map models.