<p id=”tw-target-text” class=”tw-data-text tw-ta tw-text-small crayon-selected” dir=”ltr” data-placeholder=”Tradução”><span lang=”en”>Another step completed.</span></p>
You can now load a map composed of multiple images and any number of layers. In this map I use 4 layers and 4 different images in the same project.
When it is “usable”, I will send the download link. Remembering that I am only doing this for study purposes. I indicate the version of Playniax.
I’m still working on the Tiled Editor’s map interpreter. In this version, you can read custom properties of the map and each layer individually.
Note: You can only read values of the following types: Bool, Float, Int and String (for now).
A highlight for type Bool: Using the Map class, I could not read the correct Bool type, which always returns False. Then, I saved as Int (0 = False, 1 = True). Outside the Map, saving in any variable, the Bool value is correct. If anyone has a solution, I’ll make the correction.
Otherwise, the class is fully usable. Now I will worlk on the objects and the object layer, and the on the animations of the tiles.