Hello, I'm new to Spine and I am struggling understanding some very basic concepts 🙁 . I don't know if it is something I am doing wrong or maybe in the code side (cocos2d-x) or maybe it can't be done what I am trying to do.
I have one character skeleton (an octopus) and I have several different animations. Some should be looped (blinking eyes, middle tentacles) and some are just playing once when an event happens ("leg" and "mouth" animations). And most of the animations need to play simultaneously.
My idea is to make the blinking eyes animations with the rest of the image slots off, and the "tentacles" animation with the rest of the slots off, and activate the background images on the other animations.
But when I key frame the slot off in one animation, if affects the rest of the animations.
For instance, I have "blinking eyes" animation, that I key frame the 3 different states images inside one slot. Then I toggle visibility of the rest of the image slots off. So I get only the eyes blinking and plan to place that animation on the top.
Then I make a new animation "leg" for when the user press a button and the leg animation should play only once. But when I toggle the leg back on, it affects the "blinking eyes" animation and the leg appears there as well. My thinking is that shouldn't happens, because the "blinking" animation shouldnt have the leg visible because then at runtime I end up having the same layer several times. Like the leg static, in the "blinking eye animation" but the moving leg from "leg animation" overlay on top of it.
How can I loop an animation playing like "blinking eye" and "tentacles", just some parts of the character while playing another 1 single animation of another part of the skeleton just once without having the layers rendering twice?
Maybe I should key opacity instead of switching off the slot?
Since software can't play several animations simultaneously yet, it's hard to picture it. Any tricks you guys are using to picture multiple animations simultaneously? like maybe duplicating skeletons?
Thanks