Allow maps to consist of multiple layers of tiles. Amount of tile layers should be unlimited. Because this can lead to massive overhead drawing each layer for render, allow layers to be divided into 2 types, below and overhead. Render the two types into two buffers,
rendered in the order of
background fill < below < npc < overhead
Buffered should be generated on instantiation then only referenced.
Passibility should also be merged into a single array to help collision efficiency
below < overhead < map defined passibility
Allow maps to consist of multiple layers of tiles. Amount of tile layers should be unlimited. Because this can lead to massive overhead drawing each layer for render, allow layers to be divided into 2 types, below and overhead. Render the two types into two buffers,
rendered in the order of background fill < below < npc < overhead
Buffered should be generated on instantiation then only referenced.
Passibility should also be merged into a single array to help collision efficiency below < overhead < map defined passibility