Bark bubble issue with isometric Tilemap
Posted: Fri Jan 31, 2020 12:41 am
I’m having trouble with the Bark bubbles and isometric tilemaps. I’m new to this library and kinda new to Unity so I’m probably just doing something wrong.
My game is a 2D game that uses an isometric tilemap (ordinary isometric Tilemap, not Z-as-Y).
To reproduce my situation:
Here’s an example of the results I’m getting: Note that:
I seem to be able to work around the issue by increasing the “Order in layer” for the “Bubble Template Standard Bark UI(Clone)” object instantiated under my Actor Sprite object, but this does not seem like an appropriate thing to do.
What might I be doing wrong?
My game is a 2D game that uses an isometric tilemap (ordinary isometric Tilemap, not Z-as-Y).
To reproduce my situation:
- Add an isometric tilemap to a scene with “Order in layer” = 0 and paint some tiles on it
NOTE: This is a normal isometric Tilemap, not the Z-as-Y variety. - Add a red 2D box sprite with "order in layer" = 1 to be on top of the tiles
- set the red box up with a bubble style bark on it with a long duration
- add a green box sprite with order in layer=1
- run the scene and move the sprites around to see how the bark renders in different locations
Here’s an example of the results I’m getting: Note that:
- The red box is my actor, the green box is just another 2d sprite in the same layer
- The green and red sprites are both at Order in layer = 1, while the Tilemap is at 0
I seem to be able to work around the issue by increasing the “Order in layer” for the “Bubble Template Standard Bark UI(Clone)” object instantiated under my Actor Sprite object, but this does not seem like an appropriate thing to do.
What might I be doing wrong?