Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: paolo on Sat 12/05/2007 08:25:35

Title: Choosing the right views
Post by: paolo on Sat 12/05/2007 08:25:35
I have two characters who are having a conversation. The talk loops are working fine, and when the characters are silent, the first frame of the "down" loop of their respective normal views is used for each. This is fine for one character, because he's facing forwards, but the other character is looking to the right while talking. How can I select the first frame of the "right" loop to be the frame used while he is not talking, instead of the first frame of the "down" loop being used? "Run animation loop" doesn't seem to do it.

I have separate views for the talk animations, by the way. Do I need to set up separate loops within the talk views for the "silent" mode?

Thanks.
Title: Re: Choosing the right views
Post by: Creator on Sat 12/05/2007 11:08:25
Quote from: paolo on Sat 12/05/2007 08:25:35
Do I need to set up separate loops within the talk views for the "silent" mode?

Yes.
Title: Re: Choosing the right views
Post by: Ashen on Sat 12/05/2007 12:39:24
So, there's only one loop in the talking views, even for the right-facing speaker?
In that case, once the speech anim has finished (loop 0 of the Speech view) it returns to the normal view in the same loop - making the character face down.

You could try coding something in repeatedly_execute to force the Character to face right if they're between lines, but easier is just to add more loops to the view as Creator said. If the other loops aren't going to be used, you could probably add 'empty' loops so the Right-facing talking anim is in loop 2 so you don't actually need to animate them.