Open kuyum opened 3 years ago
Hi @kuyum! Thank's for contact ! We do not have support for an isometric tilemap yet. It would be a very interesting feature. Even the new versions of Tiled have a very nice support for isometric maps. If you want to help us implement this it would be very interesting.
It's arrived in flame 1.4.0, https://docs.flame-engine.org/1.4.0/flame/components.html?highlight=isometric#isometrictilemapcomponent
Yes, it's already possible render isometric maps. But to give you a good experience with this kind of game. I will need adds the third dimension: x,y,z. And for this I have to create many modifications to give support for all behaviors and components offered by Bonfire.
I dont think, we'll need to change any of the data structures, or need a Z dimension.
The common way to implement isometric maps in games uses only x,y coordinates, and most of the game engine remains exactly the same. The cartesian to isometric transformation are required only at two places:
Here are two introductory videos on YouTube that talk about this.
Hi @4mitabh !
To render it's OK. But to component’s movements if there are height of different tiles. How a can handle with this without z dimension? Thinking better, i guess it’s possible. I don’t know. I'll study and search more about this. Thanks so much for share this videos! I think that I'll start the support of this without thinking in z dimension.
I see what you meant.
Yeah, we'll have to take care of z-order of all the rendered objects. In case of isometric objects, the trick is to simply adjust the z-order of the rendered objects according to the y coordinates.
We already do this correctly in the current maps. The knight can go around the barrel, both behind and in front of it. So, it should just work in the isometric maps too.
Any plan on this?
I'm focused in release the bonfire 3.0 and the new Bonfire documentation. After this I will work in the isometric games.
I would love to make an isometric game with bonfire, bonfire is super awesome for beginners.
Btw instead of Z usually most games are made just using x and y even StarCraft :) and for the Z there is just a top, ground and underground
Thanks for the great work. I am trying dev an isometric game. Does it support isometric tilemap?