You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry to leave this question here but what does the data in Data Layer mean? I am trying to write my owner parser. When empty it shows AAAAAAA. When filled with first selected tiles it shows AgICAgAA.
The text was updated successfully, but these errors were encountered:
*Disclaimer: It's been a while since I used it, so I might not be 100% correct. *
It depends on the layer type. For what I remember:
If it's a tile or ground layer, it's a Base64 encoded 1D array (with a size of width*height) of tile IDs.
If you're using Haxe, there is an helper function, you can retrieve it like this :
If it's an object layer, it's a Base64 encoded 1D array of 3-uples (one object is represented by 3 consecutive values, respectively x, y and ID).
Again, there is an helper function in Haxe :
@Epono Thank you for the explanation, it was very clear! For the Tile Layer, was it encrypted further somehow? Because when I put the encoded string into an online decoder or use the c# decoding method it yields null characters. For instance, when Tile ID is 0000, encoded string shows AAAAAA==, but on the online encoder it shows MDAwMA==
Sorry to leave this question here but what does the data in Data Layer mean? I am trying to write my owner parser. When empty it shows AAAAAAA. When filled with first selected tiles it shows AgICAgAA.
The text was updated successfully, but these errors were encountered: