kurix2 / 9

0 stars 0 forks source link

new Mechanic: Enemy units #4

Open yazukiwolf opened 7 years ago

yazukiwolf commented 7 years ago

create a red orb with particle effects that will patrol certain areas of the map or chase after the player. if the player throws a Telesphere at the enemy unit and it collides with it, the enemy unit and the telesphere are destroyed (instantiating particle effects), but the player is not teleported.

If the enemy unit collides with the player it moves to the center of the player object (so the player can see it in case it came from behind) and plays a sound effect before killing the player in X seconds.

If the player teleports away before the X seconds is over they are not killed, but the enemy unit will continue to chase after them.