Asteroids OpenGL C++ Achieved a 2:1
https://github.com/TiernanMcCarthy/Asteroids
During the first year we had to create a game artifact in C++. Most students made text adventure games or simple text based games. I wanted to do more, and chose to create Asteroids in OpenGL.
The game is object orientated with custom classes and a structure that holds all game objects and controls game logic. I make use of pointers heavily and a Vector list to contain asteroids as I needed it to be expandable as smaller asteroids spawn in the place of the destroyed parent object.
The game is flexible and could be adapted further, but the unit focused on programming skills and not the game content itself, so it's missing some key features of Asteroids. It was more of a proof of concept.
The basic OpenGL window environment was adapted from a source file handed to us by the course. All other programming is by me personally. I stumbled in certain areas but as a first attempt with C++ and a graphics API I was really quite pleased with the result. Asteroids was a game my father introduced to me when I was young, it always fascinated me as a child, especially as it was one of the few games my father could play as it was from his childhood before he lost interest. I'll endeavor to make a more complete version when I find the time.
Development certainly wasn't flawless either. But a learning experience none the less.
The game is object orientated with custom classes and a structure that holds all game objects and controls game logic. I make use of pointers heavily and a Vector list to contain asteroids as I needed it to be expandable as smaller asteroids spawn in the place of the destroyed parent object.
The game is flexible and could be adapted further, but the unit focused on programming skills and not the game content itself, so it's missing some key features of Asteroids. It was more of a proof of concept.
The basic OpenGL window environment was adapted from a source file handed to us by the course. All other programming is by me personally. I stumbled in certain areas but as a first attempt with C++ and a graphics API I was really quite pleased with the result. Asteroids was a game my father introduced to me when I was young, it always fascinated me as a child, especially as it was one of the few games my father could play as it was from his childhood before he lost interest. I'll endeavor to make a more complete version when I find the time.
Development certainly wasn't flawless either. But a learning experience none the less.