Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Isometric Map exporting the tiles in wrong rendering order #154

Open
jacobmrhodes opened this issue Feb 13, 2018 · 4 comments
Open

Isometric Map exporting the tiles in wrong rendering order #154

jacobmrhodes opened this issue Feb 13, 2018 · 4 comments

Comments

@jacobmrhodes
Copy link

jacobmrhodes commented Feb 13, 2018

Tiled2Unity Github Bug.zip

This bug was originally submitted to Tiled (https://kenney.nl/assets/isometric-city)

I am attempting to create an isometric map using Tiled and I am going to export it to Unity using Tiled2Unity. Bjorn said this issue is with Tiled2Unity and not Tiled.

When I attempt to export my isometric map, the rendering order is incorrect. Depending on which tile render order I have enabled, the tiles will be stacked in the wrong way. See images below. None of the tile render orders actually fix the issue though.

I have tried enabling the 'Use Depth Buffer' option in Tiled2Unity but that did not resolve this issue.

Attached is the zip file that contains the TMX, TSX and PNG sprites I am using.

I'm not sure if this is important or not but I am not using a sprite sheet for this Tiled map because the spritesheet is not split evenly so it would be tedious to manually cut each sprite out (https://kenney.nl/assets/isometric-city)

image

Tile Render Order - Right Up
image

Tile Render Order - Left Down
image

@Seanba
Copy link
Owner

Seanba commented Feb 13, 2018

Ah, I think I know what's going on here. Tiled2Unity has to build separate meshes on a per-texture basis and because each of your tiles is it's own texture we're losing the ability to group tiles together with a specific render order.

FWIW, I'm working on a (totally) new version of Tiled2Unity in my spare time that will fix this kind of thing. It is based on the newer Tilemap features of Unity and will also fix issues like this by creating a shared texture atlas. I hope to have more on that soon but my work and family life has gotten a bit busy lately.

@jacobmrhodes
Copy link
Author

That makes sense. This behavior is more by design than it is by defect. Out of curiosity, any ballpark when you might have the newest version of Tiled2Unity out? A few weeks or a few months?

@Seanba
Copy link
Owner

Seanba commented Feb 14, 2018

I hope more like a couple of weeks than a couple of months. Some of it will depend on Unity, however, as we'll need some fixes from them that are currently in beta.

@Lanslow
Copy link

Lanslow commented Jun 9, 2018

Hi, any news about this problem? I have currently the same, so I export my map as Image in Tiled software but it would be useful to export it with Tiled2Unity. Hope you know a solution!
Thank you in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants