Implement a map screen that the player can toggle to. It can even take the place of state.paused. When an area is rendered by the camera, the camera should tell the tile array about the squares that it renders.
(Currently, the level tiles are just represented by numbers instead of whole tables. We can keep it this way, but I foresee it getting increasingly awkward.)
Implement a map screen that the player can toggle to. It can even take the place of state.paused. When an area is rendered by the camera, the camera should tell the tile array about the squares that it renders.
(Currently, the level tiles are just represented by numbers instead of whole tables. We can keep it this way, but I foresee it getting increasingly awkward.)