CRE8OR - game maker for anim8or

 


MUTIPLE ANIMATIONS
- CHARACTERIZATION -


   We've worked wit animtions now and it is time to do multiple animations simultaneously. Here's the cre8or file all setup and ready: Seraph Cre8or Project. The model has sword and gun for demonstration purposes.

NOTE: Models are used in the tutorial for the purpose of teaching, these models are not allowed to be used elsewhere without consent.

This will be just to show you how to do multiple animations simultaneously. We have a idle, walking and running sequence and then we have a shooting and sword combo seqeunce. We want the last two sequences to run on top of the first three.

Let's set up the basic first three sequences. Open the "Seraph" entity. Now go to the "Step" and add "Set Sequence"


This will set the idling seqeunce. Now let's set the walking seqeunce.
Add the keyboard <UP> event. Add the seqeunce action:



Now add the <Shift> Keyboard event. If you press and hold <Shift> she runs. To make sure the player is still pressing the <UP> we'll just add this:


And right after that add set sequence:



Now if you run it and press <UP> she walks if you press <Shift><UP> she runs.


Now I want her to shoot, or swing the sword while she runs, walks, or idles.
In order to do that we need more than one animation track. We need just two, one track for playing the leg animation and the other for playing the hands.



Add the <CTRL> keyboard event. And add the "Set Sequence" action:



Notice the "1" circled in blue. We have two tracks, Track #0 and Track #1. Track #1 will overide anything on Track #0. So we will play the Shooting sequence over the base sequence. It is important to note that the Shooting sequence must not animate the legs otherwise it will overide the running and walking leg movements.

If you run it, try pressing <UP> and <CTRL> and notice that you can play the shooting sequence over the walking sequence.

However the shooting sequence never stops. :( We need to fix that.

Open the "shoot_one_hand2" sequence and add the last frame event:



Now add the "Disable Track" action. This will stop playing anything on the second track, or Track #1.



That's great, now let's add the sword animation. Open "Seraph" and add the <SPACE> keyboard event. We still only need two tracks since we don't need to play the Sword sequence over the shooting sequence.

 

Now go to the "sword_set" sequence and add the "disable track"

 

Now you know how to play multiple sequences.



That's all for now.

Tutorials Page




Copyrights (C) 2007 Keith Tabert
Thanks to R. Steven Glanville for Anim8or, Robin