Hi there!
I plan to do in my AGS game an animation where the first character (EGO) grabs a part of an other character and pull it.
But the question is:
Do I have to make 1 sprite for both of them and turn the second character invisible?
Or do I have to make separated sprites for each character, but in that case , how do I manage to synchronize both animations?
Thanks for the help
I would suggest doing it the first way. The characters would look better, plus it would be a ton easier to do.
As for synchronizing animations, I have this in my notes:
SetCharacterView(KILLER, 3);
SetCharacterView(VICTIM, 6);
AnimateCharacter(KILLER, 5, 0, 0); // draw gun and shoot animation
while (character[KILLER].frame < 4) Wait(1); // wait for shooting frame of animation
AnimateCharacterEx(VICTIM, 5, 0, 0, 0, 1); // hit and dying animation
ReleaseCharacterView(KILLER);
This is cool!
Thanks to both of us!
I still didn't choose how I will do it, but the example code for synchronizing animation is really helpful!
Thank you again!