top of page

Who's a Good Dog

March 2022

Run to the wall! Help other dogs reach the wall, but avoid the food--it'll be game over!

The purpose of this prototype was to utilize a counting mechanism, while designing a game around it.

  1. I set the dogs in a line and made them move forward.

  2. I used InvokeRepeating to spawn food from the right.

  3. I used If Statements and Booleans to program interactions between the dogs, foods, wall, and the player!

Click on "Play Now" to see how I programmed this in more detail, and additional functionality that I added.

Notes for future improvement:

  • Making the dogs touch the wall will incur additional points for "Good Dogs." This should be fixed in later builds.

Note: Completed as part of Unity's Jr. Programmer course and had to be submitted at the end of Mission 2, along with a Debug project, and a quiz. I created my own design document in order to determine what would happen in this game. Unity provided assets and a few lines of code for counting functionality.

  • Github
  • LinkedIn
  • Itch.io icon
bottom of page