-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
SpriteDepthInMap not working at all #162
Comments
anyone ? please ? |
Hi Phil. I've never really got depth sorting with Tiled2Unity to work in an acceptable way. Right now, if I was stuck with Tiled2Unity I would use Object Layers (and Tile objects) instead of Tile Layers. Then, I would craft a custom importer that would assign a "sorting order" to each tile in a way that made sense (probably making it a function of the y-position). Then, as my player sprite moves around the map I would set its sorting order based on y-position and I would get the behavior I wanted. Granted, that does take some work. My apologies. FWIW, I'm working on a new Tiled exporter that will use the new Unity Tilemap features. Getting proper sorting, especially for isometric maps, is one of the goals as well. That's at least a couple weeks, however, and depends on some fixes from Unity that I've reported along the way. |
object layers in Tiled? but then I wont get the nice functionalities of a tile map and stuff I wrote a c++ SDL prgram that does import your tiled json format, maybe I could give it a try in unity, using "Order In Layer" dynamicaly |
for info, this guy managed it to make it work but doing the same setup I cant achieve the same result |
Hello,
I keep changing my sprite "sorting order", "order in layer", and "interact with layer" options
the sprite is always above or always under the layer above the ground
z sorting does not work
my tilemap appear to be sliced and changing "tileset height" also seems to change the map slicing
as I go up or down, my sprite z value changes accrdingly but it's like all horizontal slices of map are on the same z value
any advice/tutorial ?
[edit : been checking the depth shader, it does not even seem to do anything additional concerning z sorting ...is this feature still supported ?]
thanks
The text was updated successfully, but these errors were encountered: