Hello, I am hoping someone can tell me the correct approach for an issue I am having with multiple animations.
So, I have my animation which is basically a stick figure at this point, with a idle and run animation. Then, in the game, I wanted to add a torch to the character, which is where I am struggling, because I don't know what a good approach is. My torch is an animated spritesheet atm that I load in the game. I tested with separate animations to get the arm where I want, like idle, idle_holdtorch, run, run_holdtorch, but this seems like it could be handled better, and it seems like it could be a headache in the future if i want to do other things (but this approach did work). I also attempted to do a fadeIn with an animation hold_item (place the arm where I want) and run. The arm does position in front of the player, but when the run is happening that arm is still moving, and I would not want it to move.
1) Can I add a torch w/animation as a bone inside of dragon bones, and just toggle it's visibility in game? If so, how can I work with these animations together in dragon bones and in the game? Or would the torch be a separate dragon bones project, and I would attach the 2 armatures somehow in the game? And then I would still have the problem of positioning the arm where I want.
2) If I added the torch in the game as an offset of the armature display object, how can I rotate the arm to in front of the player, like he is actually holding the torch, and keep it there when playing the run animation.
3) Is there a different approach that would be better to do something like this?
Thank you for any help!