Gem Collector

This is a "collection" game that I created for my Game Development and Algorithmic Problem Solving II class. We were asked to create a game with a character, which did not need to be animated, that moved around the screen collecting an object of our choice. The game required us to use game states to transition from the start screen to gameplay to game over. We used content loading to bring in our images, and insured they only loaded once. The character should wrap around the screen and use simple collision detection for collecting the objects. A timer runs so that the player only has a limited amount of time to collect all of the objects. My game went beyond the requirements by adding simple character walk cycle and having 25 playable levels with a player score.

You can see the code on my GitHub or you can download it to play here.