Is it possible to use Tilemap to render several bitmaps? I understand that you’re supposed to use one Bitmap, however many third party frameworks such as Haxepunk allow you to use several Bitmaps. Any help would be appreciated.
In the Tilemap
constructor, tileset
is optional. If used, it applies this by default to all the tiles added to the Tilemap
, but Tile
has a tileset
property as well. If you want, you can set the tileset
per tile, or if you use a default tileset
, just when you need a different one.
You can also use multiple Tilemap
instances