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

DrawOrder bug - Sometimes not working in Phaser (but appears to work in Editor) #93

Open
shibekin69 opened this issue Dec 18, 2017 · 1 comment

Comments

@shibekin69
Copy link

Not sure what this is exactly, because it appears so random. What normally works in the editor, sometimes (or maybe rarely) doesn't work when you try out the animations in spine. If you have draworder keyed into animations, sometimes the runtime doesn't do the draworder you've done. From my experience, if this happens, try backing up your project, and do a stripped down animation or two, and try to debug the draw order by moving slots up or down one at a time, then export and try it out over at Phaser. If it works, move more slots up and down. Rinse and repeat until bug has mysteriously 'gone away'. May need to save a new file and strip out all the draw orders from the animation.

@shibekin69
Copy link
Author

To add, work around for this in case the problem is pervasive is to duplicate slots that need to be at the front or back, rename to something else, and use attachment keys to show and hide the front and back slots as needed.

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

1 participant