bevy_ecs_tilemap icon indicating copy to clipboard operation
bevy_ecs_tilemap copied to clipboard

Future: advanced isometric view

Open mattdm opened this issue 4 years ago • 1 comments

Unlike in a top-down or side view game, In many (most?) isometric games, objects represented by a tile may be taller than the actual tile space. (Like, a tree or a wall.)

From chat:

StarToaster

I have given some thought on how to achieve that. A couple of steps need to happen for that to work:

  1. Allow isometric tiles to render larger then the actual tile grid size as this allows tiles to kind of overlap each other. You would also use the rendered size for mouse picking.
  2. Each layer is rendered top down by splitting each horizontal row into is own layer this insures that tiles are rendered correctly. > Another option would be to also calculate the z-index as being Y. This adds the further benefit of allowing sprites on the isometric tile map to render "behind" tiles. This is very similar to how some isometric games actually function(project hospital is one example). I don't know when I'll be able to find the time to add those things to bevy_ecs_tilemap, it certain is possible for someone to mostly do all of this currently except for point 1.

mattdm avatar Jun 02 '21 14:06 mattdm

And extra-advanced: isometric hexagonal maps.

mattdm avatar Jun 02 '21 14:06 mattdm

This is not going to be supported in bevy_ecs_tilemap for now. Please message me on discord if you would like more information.

StarArawn avatar Aug 11 '22 16:08 StarArawn