AdamsLair / duality

a 2D Game Development Framework
https://adamslair.github.io/duality
MIT License
1.4k stars 289 forks source link

#731 - Use a default empty tile for all empty tiles #761

Closed cowmanjoe closed 4 years ago

cowmanjoe commented 4 years ago

Fairly simple change that adds an int EmptyTileIndex to the Tileset which will be used by the TileMapToolSourcePalette when making a new selection of tiles. This value is computed at Tileset compile time. It is set to -1 if there are no empty tiles.