C++|Space Impact
A downloadable game for Windows
Space Impact
A complete 2D action game inspired by the classic Space Impact, developed fully in C++ using Raylib, without the use of a game engine.
This was my first fully completed game written entirely in C++, with a strong focus on object-oriented design and gameplay logic.
Core systems implemented:
- Player ship movement and shooting mechanics.
- Player sprite blinking upon being hit.
- Enemy random spawning and behavior.
- Projectile instantiation, management, and collision detection.
- Game loop, scoring, and game state handling.
- UI design and programming.
- Code follows OOP principles and classes are separated into .h and .cpp files.
- Global state-machine for managing multi-screen rendering.
- Separation between updating (logic, input) and rendering (OpenGL).
Technical challenges:
- Smoothly making player sprite blink after being hit by an enemy ship.
- Ensuring player ship doesn't exceed screen bounds.
- Dinamically managing multiple entities and projectiles though STLs like std::vector.
- Applying fundamental graphics programming concepts through Raylib’s OpenGL abstraction.
Developed for the Graphics Programming subject of the Master’s Degree at UOC.
Download
Download
GP_SPACEIMPACT_MARC_PARRILLA.rar 196 MB

Leave a comment
Log in with itch.io to leave a comment.