Type: Solo
Project Length: 1 Month
Skills:
Tools:
What was the goal?
This was a project for a programming class where we were tasked to create a game that utilized inheritance and object-oriented in some way.
What was the output?
When I thought of creating a project with object-orientation, my mind was drawn to the idea of idle clicker games with the different revenue generators. Thus, I decided to create a clicker game where your goal is to reach one hundred thousand dollars! The short narrative I came up with involved pre-existing characters, with the one the player controls wanting to have a wedding in Hawaii, but not enough money to do so. To deliver this, I drew a simple comic cutscene that plays at the start of the game, as well a CG of the player character and her husband getting married on the beach when the player wins.
For the game itself, I drew a bunch of assets for all the food the player can sell, the UI, as well as the stands and the little characters. I programmed a base stand, and from there had two scripts inherited from it. One for food stands, and one for the player’s stand. Inheriting from the parent class meant that all stands could be upgraded from the UI buttons present, and I simply had to add the unique functionality of each. The food stands would generate a certain amount of money over a certain period of time, both values which can be upgraded. However, they had to be bought first, and wouldn’t do anything until purchased.
The player’s stand, meanwhile, generated money every time the player clicked on it, another value that could be upgraded. Each stand had little animations and text pop-ups as they generated revenue, with the stands displaying their current money and time values. As the player generates more and more money, they’d eventually reach their goal and would be able to win the game!
Takeaways
As someone who’s taken many programming classes before, this was a nice refresher in object-orientation and inheritance. It was also some of the most fun UI I’ve designed! The bouncing animations, pop-up money values, and the design of the upgrade card are things I think add a lot of polish to the game. Overall, I’m really proud of the final product and think it’s an adorable little game.