remy / zx-tools

A collection of ZX web based tools and libraries
https://zx.remysharp.com
41 stars 3 forks source link

8px tilemaps default tile index #29

Closed celeritydesign closed 4 years ago

celeritydesign commented 4 years ago

The default transparent tile when choosing an 8px tilemap is index 63 - to be consistent with 16px tilemaps it should be the last tile, index 255, shouldn't it?

Maybe not a bug, but thought I would check.

remy commented 4 years ago

I know what you mean, but it's hardcoded, but more importantly it doesn't switch to 255 because you might already have some pixels in sprite position 63 (in the 8x8 configuration).

It might possibly make more sense to set it to zero, but moreover I think some way to search and replace index values on tile maps is the best solution.