I’ve just started contributing to a game on Github and they are using Tiled, I’ve never used it before. The game works fine and the map is saved as a .JSON file. The .TMX is provided in the repository.
On my system, If I add anything to the map in Tiled then export a new .JSON file, the game wont run and I get the following error:
[Error] TypeMismatchError: DOM Exception 17: The type of an object was incompatible with the expected type of the parameter associated to the object. drawImage draw renderRegion renderFull render postUpdate postUpdate postUpdate updateLogic update updateRAF _onLoop
This happens when I add one of the pre-existing tilesets, any of them.
I’m using Tiled Map Editor Version 0.16.1 on Mac OSX 10.11.2 the problem occurs in both Safari and Chrome.