Isometric tiled map in array [SOLVED]

0 favourites
  • 5 posts
From the Asset Store
Supports 1D, 2D, 3D arrays. Import and export arrays in JSON format
  • Hi.

    My goal is to create an isometric map based on the array. I`ve got no problems with basic non-isometric tiled maps, but isometric one is harder.

    The result of non-isometric code

    <img src="" border="0" />

    for isometric tiles is

    <img src="" border="0" />

    Quite psychedelic and interesting, but not what i need now. :)

    If i was working on tiled map without arrays, the additional variable for spawning even/uneven rows could be the best decision. In my situation it is impossible or i have a lack of knowledge.

    That`s where i need some help: how to spawn the proper isometric tiled map with array?

  • And the problem is solved! :)

    <img src="" border="0" />

    <img src="" border="0" />

    P.S. Any optimization ideas?

  • P.S. Any optimization ideas?

    That's a lot of tiles.

    Might think about using the tiled background object, unless you're planning on having tiles clickable.

  • Tiled supports isometric maps if you didn't know.

    P.S. Any optimization ideas?

    Paste 'em!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Tiles are made in this way to store information about the world (resource nodes and other stuff), so tiled background is not the decision (at least if i got you right).

    And yes, that`s really a lot of tiles. But i can generate the world once and than just load it from JSON by parts (for example only 2 "screens" around the player`s line of sight).

    MadFactory, you mean soft named "Tiled"? I can check it out but can i generate a random world in it?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)