Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Volcan on Sun 08/12/2013 14:47:50

Title: (solved) Walking slower... slower... slower ...
Post by: Volcan on Sun 08/12/2013 14:47:50
[imgzoom]http://www.atariage.com/forums/gallery_ips/gallery/album_185/gallery_1196_185_1037.png[/imgzoom]
This guy is dying... Dying... Dying...

But he still walks too fast for my taste even if I set walk to 1.

Any idea to make characters to walk slower?
Title: Re: Walking slower... slower... slower ...
Post by: Khris on Sun 08/12/2013 15:04:10
You can set a character's AnimationSpeed and MovementSpeed (x/y or uniform). The latter determines the amount of pixels the character moves when the frame changes, and I assume you set that to 1.
What you need to do is increase the AnimationSpeed, since it actually determines the number of frames in between keyframes, so a higher number means slower movement.
Setting it to 40 with a MovementSpeed of 1 makes the character move 1 pixel every second (assuming a framerate of 40/second).

So you should first set the Movement speed to a value that corresponds with the animation, regardless of the final speed (so the character doesn't glide / moonwalk), then only change the AnimationSpeed to adjust the final speed.
Title: Re: Walking slower... slower... slower ...
Post by: Volcan on Sun 08/12/2013 16:09:19
That's tought to understand how it works.

Thank you for the help Khris.

:smiley: