pvmm/tiletools

Create separate tile regions

Opened this issue · 0 comments

pvmm commented

Tilesets bigger than 256 tiles should be separated in tile regions (tileset#1 and tileset#2). This allow us to still map everything into a single byte. We can forego the last significant bit of the tile number and use screen region where its cell is (top or bottom) to decide which tileset we are referring to by using the 8th bit of the tile number. It requires replicating some tiles in both tilesets if they are used in both regions of the screen. Alternatively split the screen in left and right regions too.