C++ ENTERPRISE
THE PITCH
Aboard you spaceship, the "C++ Enterprise", explore and collect ressources in order to improve your ship and fight various and dangerous enemies.
THE TEAM
Programmer Alexandre SANCHES MATEUS
Programmer Téo SAUTEREAU
Programmer Kevin VU - MORELLO
THE CONTEXT
As part of my studies at the IIM, we code a top down space shooter from scratch in modern C++. We use SFML's libraries for graphics and text.
DETAILS OF MY WORK
GENERATOR OF PLANETS
When the player live the sceen a new level are loaded.
Each level are generated a random number of planet, size and health point.
Each planet can only be destroy by the player and causes damage to him if he enter in collision.
ENEMIES
There are 3 types of enemies :
HEAVY : static enemy who fire a serie of bullet, tank a lot of damage.
BOMBER : slow enemy who follow and explodes near the player. Can be destroy very easily.
ROCKET LAUNCHER : static enemy who launch an unique rocket that will follow the player quicker than the bomber. Can also be destroy very easily.
EXPLOSION PARTICULES
Can be trigger when enemies are dead (feedback). Random size and orientation.
Created by two circle, one yellow and the other black, that its radius expand until the black one has covered the yellow one.
COLLISION
Simple circle collision between different object in the scene : the player collide with planets, bomber, rocket and heavy enemy.
PROJECTILES
Rockets have a tail that disappear after a short period.
Projectiles fired by he player and Heavy ennemies are dissociate in the game but have the same behaviour : go straight and disappear when it collide with an entity.