Problem Description
When importing a tiled TMX file with more than 1 tile set is throws this error on all projects. "Error parsing XLM file. Check the file is a valid Tiled TMX file."
Attach a Capx
http://www.kmdes.com/tmx_error.capx
Description of Capx
It does nothing. It is a blank project and still throws the error.
Steps to Reproduce Bug
- Step 1
Drag and drop .tmx file onto Construct 2.
- Step 2
Error is thrown.
- Step 3
Observed Result
Error is thrown.
Expected Result
Error gets thrown.
Affected Browsers
- Chrome: (YES/NO)
No
- FireFox: (YES/NO)
No
- Internet Explorer: (YES/NO)
No
Operating System and Service Pack
Windows 7 Service Pack 1
Construct 2 Version ID
Release 227
Yep, this issue is super-annoying, as is not being able to duplicate a tilemap object and change the tileset it's using (I know the reason behind this is "optimization" but not making it optional is really inconvenient for loading tmx files at runtime, aside from how little use the optimization is for desktop games). What I ended up doing was using the tmx importer plugin and having a few different tilemap objects available to use for the different tilesets on layered tilemap stages. You can parse through the different tilesets used this way and spawn different tilemap objects for each tileset. It's a bit of a pain in the butt, and this feature should be native to C2 (as well as being able to use one tilemap object with multiple tilesets), but it works.