Tuesday, November 4, 2014

Fly polygon

Today I added the polygon for the fly. It will be used to show where the fish will jump to. It will also be used to give the player score, if the player manages to catch the fly before the fish. For some reason the Intersector class that we use for collision detection does not seem to work, even though the check is exactly the same as the one between the frog and the fish.

The red circle around the fly is the fly polygon.