Artem
Results
2
comments of
Artem
> ParseObjectLayers The ``ParseObjectLayers`` function edits the json object passed to it, so when the function ``gameScene.make. tilemap({key: "map1"});``the function passes this changed json object as an argument to the...
You can clone only json.layers, but in my solution I clone the whole json, because besides ``mapData.objects = ParseObjectLayers(json);`` the ``ParseJSONTiled `` function calls other parsers like ``mapData.images = ParseImageLayers(copyJsonData);``...