- Изменено
Animation in Perspective
Suppose you're looking to make an animation that would travel in perspective, say a horizontal sword swing. What would you suggest as the best way of going about that as the character's arm orbits around the body? Is it possible to swap out bones/images on the fly in such a way as to disguise the change?
You'll need an image change if the current images would look funny as the perspective changes. To key an image change, in animate mode at the timeline position you want, click the visibility dot next to the image you want visible. This causes a yellow dot to appear next to the slot for that image. Click this yellow dot to set a key.
Thats awesome. I'm going to run some tests over the next few days to see how well I can get this beast to sing.
Would this same image change method be used when you want to have torso/pelvis twist in a walk cycle? The basic setup for a character is what you have in the example files, where the characters are setup on a 3/4 angle. This is perfectly fine for the purposes of most 2D game animations, but for a true anatomically correct walk it doesn't suit.
In Flash, the torso twist would be a number of frames held within a symbol which is then told to loop, play once or single frame. From my understanding, in Spine all of the torso frames would be children of the parent spine bone, which is basically the equivalent of a symbol in Flash. It would be nice to have a similar function to loop/cycle through the parented images that fall under a particular bone, rather than just having manually keyed image changes only.
I haven't had the chance to test this out, I'm just kind of postulating aloud.
Am I on the right track?
Spine will eventually support attaching an image that is really a sequence of images. These would play automatically, so you won't need to key them. The libgdx runtime actually (mostly) already supports this, see RegionSequenceAttachment. It may be some time before it can be done in the editor though, there are so many things to do right now!
That sounds great. Understood that there are more pressing features needed!
Another thing you can use to help achieve perspective is image deformation. You can see what can be done with deformation in one of my apps (though there's little perspective in that one)
https://itunes.apple.com/app/pet-dino/id523648104?mt=8
I hope Esoteric implements deformation, even if they don't reach the kickstarter goal, else it'd be quite a big compromise for me to switch to spine, even if the workflow is far superior to a 3D animation tools.
Out of curiosity, what do you currently use that allows deformation?