Inspiration
We were inspired to delve into pygame and coding games in python from learning various basic coding languages and courses at our university where, we were looking to expand our knowledge and coding skills by participating in the game jam.
What you learned
From this project we were able to learn all about pygame and how to import it and call functions from it to perform different tasks in our game including, making a character move up and down based off keyboard presses, how to scale pngs to fit within the games format, how to load in images, how to make a game terminate when one object collides with another, etc.
How you built your project.
We built our game using the VS Code platform with python language and importing pygame where, were able to call functions from pygame to perform the different tasks we needed to make our explorer move in response to certain keyboard presses, bananas move at a certain velocity and different amplitudes, have the monkey move up and down in synchronisation with the amplitude of the bananas, have the game terminate when a banana collided with the explorer or the explorer collide with either the vine or water boarder, etc.
Challenges you faced
The challenges we faced mainly revolved around loading our pngs into the gave format at the right pixel size, where we had to fiddle alot with the scaling of the images for the characters, boarders, bananas and background to make it work and not have them be extremely pixelated. We also faced challenges with having multiple objects (bananas) being fired a randomised amplitudes at a certain velocity in synchronisation with another object (monkey) which we were able to look to the internet and similar pygame codes for assistance with.
Log in or sign up for Devpost to join the conversation.