Skip to content

Tile system revamp

Jaden Balogh edited this page Mar 16, 2020 · 2 revisions

The tile layout will be stored in LevelController as a 2d array of tiles. Each tile will have a size of 1x1 units (no more tileScale).

The Room class will be removed and all level generation processes centralized in LevelController. Based on a pre-defined room size, walls will be placed at set intervals and their sprites set based on adjacent tiles.

Doors will be saved during the room branching algorithm as pairs of rooms.

Clone this wiki locally