jeudi 28 mai 2015

How to decode Base64(uncompressed) TMX data element contents?

I have been trying to decode the Base64 contents of the data element in a TMX file with AS3. I am using mx.utils.Base64Decoder to decode the contents.

Here is my 1x1 layer data without the encoding (I'm not sure if the encoded data is in XML format):

<tile gid="1"/>

Here is my layer encoded:


When I try to decode the data, the return value is empty. I tried to decode the data with an online Base64 decoder but that showed an empty value also.

Aucun commentaire:

Enregistrer un commentaire