Swim Back Home

Timothy Wong | CPE 471 Fall 2017


Image after you start the game

It's feeding time and you're in the wrong area of the ocean - shark territory. Try to make it to the entrance back home without getting eaten by outmanuvering the sharks! 


A big part of this project was rendering all the different obj files and making sure they interacted correctly with each other. There were a good amount of geometric calculations that I had to compute in order to make the sharks follow and try to eat the player. This involved a lot of translations and rotations for both the 15 sharks and the player fish. I also created a variety of different large quads for the walls and ground as well as for the start, victory, and death windows. One more implementation that I had to do was object collision and making sure the player lost when the shark ate the player.


Example Video