DragonBonesCSharp icon indicating copy to clipboard operation
DragonBonesCSharp copied to clipboard

Display order is not preserved

Open drzaal opened this issue 7 years ago • 3 comments

Image sorting in animation does not appear to be preserved in game, especially if any billboarding is happening. Manually configuring the depth sorting layers in my armature appears not to work because changing the sort order on the top level parent will reset all child objects instead of appending an offset.

proposed Solution expose DEPTH index offset (default 0) DEPTH z offset (default 0.0F)

Which provides in between spacing for your animation parts. Unless there's a workaround I don't know about.

drzaal avatar Nov 13 '16 19:11 drzaal

I have the same problem, have you found a solution? my image ordering is lost in unity

renatomserra avatar Jan 21 '17 22:01 renatomserra

Hi, the bug has been fixed :)

akdcl avatar Jan 22 '17 04:01 akdcl

@akdcl Can we (phaser 3 comunity) ask you to help do the same thing for our version of dragonbones? This bug is so old for us, and noone tryed to fix this :(

MadDogMayCry0 avatar Jul 06 '20 06:07 MadDogMayCry0