Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Game Development How to Make a Video Game Score, Enemies, and Game State Create Enemy Navigation and AI

Rasmus Hall
Rasmus Hall
1,260 Points

why idle animation?

If the bird is just gonna eat you when it reaches you(its destination) and it will follow you from the start off the game to the end, why is there an idle animation??

1 Answer

Steven Parker
Steven Parker
231,236 Points

The bird doesn't pursue the frog before the game starts. The idle animation shows the user that the game is running and ready to begin, and provides a preview of some of the environment and some of the sounds.

Rasmus Hall
Rasmus Hall
1,260 Points

but the bird is not in view before you hit space...

Steven Parker
Steven Parker
231,236 Points

I guess the bird isn't part of the "preview". I suppose it could be, but you'd need to deactivate the collision detection until the game starts.