This is a tower defense style game in which you control a witch with powers to exchange trees by powerful turrets to defend your school in each phase. The game is initially planned to have 15 levels

Post news Report RSS Teleportation

Enemies with magical powers can teleport other enemies for points closer to their base.

Posted by on

Background

Part of the elements to make the game more challenging, was to enter a teleportation process. Enemies with magical powers can teleport other enemies (or yourself) to another point of the path that leads to the base.

Do it

The process itself was not complicated to be created, to be honest I spent more time doing particle effects than writing code.

To test the behavior of the process productively, adjusted the trigger utility that I had created to meet generic situations to support the enemies teleport automatically to occur collisions between the trigger and the gameobject.

The particle was a tricky part of the process, especially for something that happens so quickly, but the whole process (particles + hide enemy + new position + enemy particles) was very dynamic.


Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: