FromTiledMapSave loads a TMX file into a LayeredTileMap. This method populates all internal properties including the LayeredTileMap's Layers and Collisions properties. Internally this method loads necessary PNG files using the argument contentManager.
Typically this method is called in generated code by adding a TMX file to a Level screen in the FlatRedBall Editor.
TMX files can be converted to LayeredTileMaps if they are using any of the following Tile Layer Formats:
Base64 (uncompressed)
Base64 (gzip compressed)
Base64 (Zstandard compressed)
CSV
Note that Base64 zlib compressed can be used, but to do this you must:
Add a reference to the Ionic.Zlib.Core nuget package
Add SUPPORTS_ZLIB
to your precompile directives
Using an unsupported compression format will result in a runtime error: