Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Squinky on Thu 12/02/2004 23:13:50

Title: Can I do the walk animation without moving and without animatecharacter?
Post by: Squinky on Thu 12/02/2004 23:13:50
Yeah, weird question, I know.

Heres what I have going. I've got it set up so that when you click on something EGO fires at it. I currently have it set up so that I changecharacterview to another view and then change it back to the walk view when I'm done. I could use some form of animate character but then I would have to program it myself to turn and face all eight directions. The walk animation does this for you...but it dosen't animate unless your moving. I guess what I wanna know is: How can I make the primary view animate without movement?

Does this make any sense?
Title: Re:Can I do the walk animation without moving and without animatecharacter?
Post by: Gilbert on Fri 13/02/2004 02:14:57
Hmmm I'm not sure if I get your meaning.
But if you want to animate the character using the same loop as before (ie, same direction), you may just do something like:
AnimateCharacter (EGO, character[EGO].loop, delay, repeat);

Title: Re:Can I do the walk animation without moving and without animatecharacter?
Post by: Squinky on Fri 13/02/2004 02:49:25
Wow, that worked remarkable well. Thanks again Gil...