In this post i talk about the enemies.
First of all a clarification : all characters in the game are represented by primitive solids like cubes, spheres and so on.
The solid who represents the enemies is the cylinder. In the game there are nine different types on enemies all represented by a cylinder but whit different colors. When the player shoots, one time, to an enemy, the cylinder color change into white regardless of the start color and the player can pushes the enemy around the level.
But … What happens when the player shoots twice an enemy ?
The answer is very simple : the enemy dies.
Therefore : one shoot and the enemy become pushable, two shoots and the enemy dies.
But there are two important aspects concerning the enemies : the respawn and the back to normal.
In the first case the enemy is respawned at the last its known position, in the second one case the enemy back to its original state, so you needs to shoots it again.
Code Name EFZG - the enemies
Posted by lagmacstudio on