Day 13. New enemy type. Negative pickup.

--

For the new enemy type, I decided to build a system that let programmer easily to define parameters of every instantiated enemy. I created a method called setEnemyType(bool canFire, int superPowerType, int behavior) that can be called any time during the game. This enables to change parameters on the go. An enemy can start with zig-zag movement and ended up circling and so on.
The negative pickup was an easy one. I took regular power-up and converted it to something that put down all player scales. One life, one shot, slow down the speed for 10 sec. It is easier to lose the game. It also looks like a flipped life power-up.

--

--

Dmitry Gordeev
Dmitry Gordeev

No responses yet