This topic contains 18 replies, has 5 voices, and was last updated by  juliocmfj 2 weeks, 2 days ago.

Viewing 4 posts - 16 through 19 (of 19 total)
  • Author
  • #10105


    <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 was able to interpret the basics of the Tiled system. Below is the code and below an example use.

    Remembering that I am developing these classes for my personal use, I only share those who like information and learn new things.

    The code still needs a lot of change and there are unnecessary things in it…


    • All files, including the images used on the map, must all be in the same folder.
    • Does not load any additional information, such as: custom properties, objects, animations… Only layers without any custom configuration.


    I’m not able to post the codes here, so the download link is going.




    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.


Viewing 4 posts - 16 through 19 (of 19 total)

You must be logged in to reply to this topic.