A simple Space Invaders–style 2D game built in C++ using Raylib as part of my first semester BSCS project.
- Player spaceship movement
- Bullet firing system
- Enemy purple demon shapes
- Collision detection
- Score and high score tracking using file I/O
- C++
- Raylib
- fstream (for saving high scores)
- Left Arrow / Right Arrow – Move player
- Spacebar – Shoot
- Install Raylib
- Compile the project using a C++ compiler
- Run the executable
- Using structs and functions in C++
- Designing a game loop
- Implementing collision detection
- File input/output operations
- Writing modular and organized code
- Multiple bullets
- Enemy shooting
- Levels and difficulty scaling
- Sound effects