Week 7-8 | Red Plane1942

Week 7

This week I’ve added coins and power ups dropping from enemies. Both the coin and the power up inherits from the base class Entity. The coin is simple enough, it falls downwards and if hit by the player it adds to the players m_totalcoins. The power up bounces around on the screen edges until the player picks them up. For now i have only added an extra life power up but plan on adding one for adding extra bombs and one for increasing the basic shots.


Week 8

This week I’ve added two more enemies, another type of plane that flies in a zigzag pattern and a boat that has a lot of health and shoots bullets towards the enemy. I’ve also started working on a beginning for a high score system.
I tried to implement a entitypool for the use of entities. By having pre-created entities and reusing them I don’t have to allocate memory dynamically all the time. It did not go well so I decided to wait and maybe continue on it later.

About Semih Parlayan

2014  Programming