quarzoq

Hi all!, after a holiday I return to continue with the game I am doing, and I have the doubt that it is the most optimal method, or if you know any resources with which I can achieve the next goal.




I need to generate certain iterations similar to this image, but in this case between 2 different skeletals, for example a hug, in which skeleton A envelops skeleton B, but I have no idea how it is done.

I prepare the animation for each skeleton, but I don't know how I can program it at run time the drawing order.

I understand that unity users, use the SkeletonRenderSeparator utility, but how could I do it in Libgdx?

Beforehand thank you for the help and happy new year!
quarzoq
  • 記事: 19

Nate

You could copy SkeletonRenderer to your project and modify it to stop rendering at a particular slot, and also to be able to render from a particular slot. You can then render half the first skeleton, render the second skeleton fully, then render the other half of the first skeleton.
アバター
Nate

Nate
  • 記事: 11795

quarzoq

ty Nate :)
quarzoq
  • 記事: 19


Return to Runtimes