top of page

Astroid Game

The asteroid game was a small group project including me and one other programmer. The challenging part of making this project was that we had no engine to work with, the project was made with C++ and SDL to load and render images.

Asteroids Game

On the right you can see some gameplay of a relatively high score, and many objects in the scene. To make the game run smoothly with the many objects I use objectPooling so that I for the most part always reuse the objects, instead of spawning a whole new gameobject. I use object pooling for almost all objects in the game, such as bullets, rolling stones, asteroids and rockets.

In this project my main responsibilities were the player, spawning things into the level and there behavior. Example player movement, rocket homing etc. The other programmer was responsible for more essential background code like the vector and math library.

bottom of page