itch.io is community of indie game creators and players

Devlogs

Tutorial 2 - Animation in Unity

UTAS KIT207 Portfolio
A downloadable project

Do you think that God stays in heaven because he too lives in fear of what he has created?  

- Spy Kids 2

This week I imported my cool farmer guy into Unity. The animations came along for the ride, and all in all was a rather painless experience.

And so now my chickens have a farmer to keep them in check :)

I used the simple character controller script to give my farmer movement. The animation is controlled by tracking the difference in position from the last frame to the current one, updating a speed variable along the way. The speed does affect the walking animation speed, but is barely noticeable to be honest, a running animation would be perfect here to differentiate.

Regardless, now The Farmer can walk among his peers.   

While it's not clear what His responsibilities are on the farm, he does enjoy kicking the chickens around.

Unfortunately, this abuse would not go unpunished. A story for next time.  

Thanks for reading :)

Leave a comment