Skip to content

No Class-Assignment

This should be easy.  Take the code from last class and make the birds flee you(the player).  Due at the end of class next week(you will be able to work on it during class next week).

Extra credit:

Implement a vision cone for the bird.  Right now they see 360 degrees.  Hint: Use a dot product on two unit length vectors.  Remember the dot product is equivalent to a cosine of the angle if the vectors are unit length.

Implement any interesting behavior using state machines that you want.  This is a chance to get the birds to do whatever you feel like working on.  Have some fun.

Post a Comment

You must be logged in to post a comment.