2D Toolkit Forum
2D Toolkit => Support => Topic started by: JBabz on October 06, 2013, 05:14:04 am
-
Hi. I'll keep it short.
tk2dTilemap question:
Say I have..20 .TMX files. I want to load one of them when I open a scene.
So, one scene, multiple TMX files.
IS there a way to load a TMX file at runtime?
If so, do explain :)
Thank you.
-Joe
-
There isn't a way to load tmx files at runtime out of the box. The code is available to load it in the editor (tk2dTileMapImporter), and it won't be too different doing it at runtime. The reason it can't be included as part of the package is that it uses zlib & xml both of which add a largeish overhead to your runtime code size.