Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: The Almighty Metroid on Sat 11/10/2008 22:51:11

Title: Animating NPCs
Post by: The Almighty Metroid on Sat 11/10/2008 22:51:11
how do I animate NPCs?
Thanks  8)
The Almighty Metroid
Title: Re: Animating NPCs
Post by: LimpingFish on Sat 11/10/2008 23:02:01
This tutorial should help.

http://www.adventuregamestudio.co.uk/acintro7.htm

Title: Re: Animating NPCs
Post by: nihilyst on Sat 11/10/2008 23:05:37
1. Draw each step of the animation (i.e. each frame) with a paint program of your choice.

EDIT: And then follow LimpingFishs tutorial advice.

----
2. Import all the frames as sprites into the AGS editor.
3. Create a new View and -- with the frames you imported -- set the front, back, left and right loops (or whatever animation you wanted your NPC to have).
4. a) If they are walking animations, set the Normal View of the NPC to the view you used.
4. b) If they are other animations (like picking something up), call the View from the ScriptEditor (help file -> character.ChangeView) where you want it to play.
Title: Re: Animating NPCs
Post by: Dualnames on Sun 12/10/2008 11:39:07
Well, when you finished importing and all that stuff, you just put this somewhere:
..damn, you should really go and study the tutorial.. really. I would love to give you help, but I can't teach a dog how to eat mash potatoes if you don't know how to eat anything. Just go and read the tutorial. I did when I first joined.