Inspiration
The arcade game Galaga
What it does
It allows you to play 5 custom levels of Galaga with sounds. The gameplay includes controlling a red triangle and firing lasers at green enemy squares who will attack you. You start with three lives. and after every level you gain an extra life.
How we built it
We utilized the pygame library to visually create Galaga. We split our code into two files - main and logic. Logic contained several classes storing our player, game, enemy, and level information. Main on the other hand visually updates the positions of enemies and the player. Main will also check for collisions between the enemy and the player and the lasers and enemies.
Challenges we ran into
Smooth enemy diving took the longest. We had to learn to use Bezier curves and properly set up the target and control points for each enemy to follow the desired path.
Accomplishments that we're proud of
We're extremely proud of the movement of the enemies. It took a lot of math and time.
What we learned
We learned to use pygame, bezier curves and Github merging.
What's next for Galaga
More levels! And maybe more enemy types.
Log in or sign up for Devpost to join the conversation.