Pygame was the main library that was used for the development of the game, as well as built-in libraries such as the clock library in Python. The functionality of the game was inspired by Space Invaders, such as the movement of the candy ship, which moves left and right. Other functionality in the game, such as the candy monsters moving from the top of the screen to the bottom of the screen and appearing randomly were original ideas created by the team.
The most important classes in the objects file are the Player class, which controls the speed of the player’s movements, the Candy Monster class, which handles the movement and active state of the enemy, the ProjectilePool class which creates a list of Projectiles and handles the rate at which the projectiles are fired, and the Animator class, which allows the candy monsters and candy ship to be animated. The buttons file is used to keep track of the buttons used in the game, their positions and the images used for each button. The main file contains the Game class, containing multiple methods used to handle certain stages of the game, such as the beginning game screen, the main game screen, and the game over screen.
Lastly, the data folder contains all of the assets that were created by the team for the game. The fonts and music folders contains the fonts and background music used in the game respectively.


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