Isometric tiled map in array [SOLVED]

  • 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="http://taburetka-games.com/1.png" border="0" />

    for isometric tiles is

    <img src="http://taburetka-games.com/2.png" 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="http://taburetka-games.com/3.png" border="0" />

    <img src="http://taburetka-games.com/4.png" 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Tiled supports isometric maps if you didn't know.

    P.S. Any optimization ideas?

    Paste 'em!

  • 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)