Inspiration
I've been inspired by many video games throughout my life like Undertale, and I've decided that if I ever pursue a career in computer science, I'd want to make video games! This is a mini project of mine that I've developed, but I find it really fun :)
What it does
To play this game, you use the "WASD" keys to move your battleship and you move your cursor to aim your bullets. You can click your cursor to shoot the bullets in the direction you want. You basically have to shoot all the aliens, and make sure they don't get to the bottom of the screen for the minute, otherwise it's game over!
How we built it
I developed this project on Code::Blocks, using SFML and C++!
Challenges we ran into
The biggest problem I had was coding the bullets to strike the enemy aliens down. It was easy to create the vectors required to shoot them, but it was difficult to correlate the most recent bullet to the latest enemy. I think that it took me roughly 2 days to overcome this bug, but it started working when I implemented a nested for loop!
Accomplishments that we're proud of
I'm proud that I even got to finish something like this! This is a project that took me 2 weeks to complete, and I'm proud of myself for finishing it. I know that this is a small game, but it works as a stepping stone to further my interest in game development.
What we learned
I learned a lot of core concepts for many games in general: mainly player movement, timers, and different difficulty levels!
What's next for Invaders
This is a small game I made for fun! I don't plan to develop it any further, but I do plan to take what I've learned from this experience and use it with the other games I plan to code in the future.
Built With
- c++
- code/blocks
- sfml
Log in or sign up for Devpost to join the conversation.