Inspiration
Real world challenges like climate change and global warming have inspired our journey in developing this game. Rising temperatures bring forth many issues such as rising sea levels, increasing water pH, melting glaciers, and more frequent natural disasters. The pressing realities of climate change and global warming have profoundly shaped the development of our game.
What it does
Our game, Garbage Game, is an open world interactive game that teaches the user about the effects of climate change and the solutions. The character will reach checkpoints and answer a series of three trivia questions to open a door leading to a puzzle piece. By collecting the three puzzle pieces, they will be able to complete the game. However, if you create forest fires and answer incorrectly, you will be punished and the global temperature will rise. Do not let your world succumb to the effects of global warming.
How we built it
We built the game using Python and Pygame. Pygame provided a solid framework for handling the graphics, user input, and the movement of the character. We started with outlining the general idea and mechanics of the game. Then, we began designing and making the graphics for the game including the backgrounds, sprites, and textures. After that, we implemented the movement, collision, and trivia into the gam and then debugged and tested the game.
Challenges we ran into
Some challenges that we ran into were dealing with importing graphics, dialogue/trivia pop-ups, and collision. One of the first issues we ran into was when the graphics wouldn't line up or show up at all. By adjusting the file sizes and adding more code, we were able to implement the graphics into the game. Another issue we ran into was with the quiz. The questions were not popping up properly and the score was not adding up but after double checking the logic, we finally managed to fix the quiz function. The most persistent issue was working with collision detection. When we were trying to get the sprite to interact and collide with other objects, the sprite tended to continue moving through or overlapping with them instead of responding as expected. Similar to the quiz, we had to double check our logic and code to fix the problem.
Accomplishments that we're proud of
- Having an educational game!
- Using Pygame and for some of us, Python for the first time
- Hand-drawing graphics for the game (e.g. textures, sprites)
- Creating a successful, functional, and fun game!
What we learned
- Learned how to use Pixel Art and other graphic editing tools
- Learned how to use Pygame & Python
- Learned how to properly use global variables in functions
What's next for Garbage Game
- New maps and questions
- Multiplayer competition
- Better user interface
- More in-depth lore and story
- Better variety of textures and graphics
- Increased pixels and size of map


Log in or sign up for Devpost to join the conversation.