Games from Nothing: Black & White Exercise #1 — The Mystery of Frogboy

The Mystery of Frogboy is a basic bastardization of Frogger, minus a few elements. The user is a circle mapped to mouseX and mouseY, and initially begins at the bottom of the screen in landscape mode. Seven squares bounce back and forth along the x axis, set in y position each above one another. The green square represents a lily pad that the frog is trying to get to, and each of the other squares is an obstacle that has a speed between 5 and 31. The objective of the game is to get to the green square without colliding with anything else, and to do it in the quickest time possible. I didn’t manage to code any collision in this game, so no rewards or punishments are established, and the gameplay is goofy because of that, but this game was important in helping me establish sets of functions for individual objects, and I had fun positioning and setting the variables of the obstacles.

Author: Alex Caldwell