Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Chicky on Sun 31/12/2006 13:39:51

Title: run left animation when walking forward?
Post by: Chicky on Sun 31/12/2006 13:39:51
Howdy,

In my game i want the player to be able to walk in all the normal directions but when it comes to walking forward (or diagonal etc) i want it to use the side walking animation.

So if he's walking south west or south south west etc i would like it to use the left walking animation and the right walking animation for south east etc.

I'm sure it's fairly easy to do but i haven't opened ags in a while and my mind is a blank :)

Title: Re: run left animation when walking forward?
Post by: Akatosh on Sun 31/12/2006 15:25:50
Just remove all frames from the loops you want to be ignored.
Title: Re: run left animation when walking forward?
Post by: Chicky on Tue 02/01/2007 16:14:55
That's what i remember doing but i seem to getting an error that there's no sprite in that view?
Title: Re: run left animation when walking forward?
Post by: Akatosh on Tue 02/01/2007 16:24:03
Hm... that's strange. You just created the first 4 loops as usual, but removed all sprites from the 1st and 4th loop, didn't you?
Title: Re: run left animation when walking forward?
Post by: Khris on Tue 02/01/2007 17:34:13
Check this thread for a working solution:
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=28397