Dorhan Hello, I'm working on a game with a friend and I have a doubt about organizing a project under Spine. Currently my friend has created an animation by type of weapon (one-handed weapon, two-handed weapon, etc). Is this the right way to do it or is it better to create several animations according the objects? With the current solution, my friend has to redo the animations of jumps, etc. for each type of weapon. What seems to me to be a huge job. Thanks to you
Erika Hello, You may want to consider combining multiple animations into one to achieve this effect, having thse animations instead: Run Run with no arms (optional) HoldingKnife HoldingRocket Where the holding animation is just the keyframes required to activate the gun and position the arms/activate the IKs. You would then be able to preview the combined animations in the preview view, making sure that the run/walk animations are on a lower track than the holding animations. Preview - Spine User Guide At runtime the same logic would apply, so you'd need to play the two animations on two different tracks, making sure the holding animation is again on top to override any arm movement.
Dorhan Thank you for your answer, it seems perfect for what I want to do! In my game the character has several emotions and several face types (eye, mouth, nose), I know I have to use skins but I also have to play this kind of animation on other tracks or I manage all this with the skins feature only?
Erika You can use skins to activate the different noses, eye shapes etc. and have an animation for each emotion to play on a higher track if you want to have him run happily with a gun, or run sadly with a gun. A potential structure for the mouth slot could be: Slot: mouth Skin placeholder: mouth-sad - Attachment: mouth-sad-vampire - Attachment (in a different skin): mouth-sad-ghost Skin placeholder: mouth-happy - Attachment: mouth-happy-vampire - Attachment (in a different skin): mouth-happy-ghost So basically if you change the active image to show a different emotion, just remember to have a full set for each skin 😃