comment 0

Character movement speed based on animation

[Originally posted April 15 2012]

This weekend I finished an animation system in which the movement speed of a character is based on the animation rather than set in code for a more realistic look.

The following animation may seem basic, but the robot’s speed actually changes each frame to the speed set by the animator at that frame. This is a very good thing since characters don’t always move at a constant speed during their walk cycle. For example, if a character is injured and is limping while walking, his movement speed will need to change a lot during his walk cycle.

Next, I’ll try to mix 2 walk animations cycle (slow and fast) to regulate the walking speed with a controller’s analog stick.

Oh, and thanks to my good friend JF for the place holder animations!

Filed under: The Girl and the Robot

About the Author

Posted by

A game designer that likes action/adventure games and that lives in Montreal.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s