mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-02 11:43:19 +08:00
This PR add the ability for users to override the max size of `TiledAtlas` used by `TiledComponent` for packing all the images of all the tilesets used by a tilemap. The overrides can be used if one is sure that their target platform can handle huge textures. It also adds an assert for cases when the `RectangleBinPacker` runs out of space. This is done to help users find the problem quickly.
The following test assets were retrieved from open game art. They were released as Public domain.
- Tileset_Hexagonal_FlatTop_60x39_60x60.png
- Tileset_Hexagonal_PointyTop_60x52_60x80.png
The following assets were downloaded here. They were released as CC0 1.0 Universal (CC0 1.0) - Public Domain Dedication.
- 0x72_DungeonTilesetII_v1.4.png