DragonBones / DragonBonesCSharp

DragonBones C# Runtime
MIT License
537 stars 198 forks source link

Display order is not preserved #7

Open drzaal opened 8 years ago

drzaal commented 8 years ago

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.

renatomserra commented 7 years ago

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

akdcl commented 7 years ago

Hi, the bug has been fixed :)

MadDogMayCry0 commented 4 years ago

@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 :(