Projectile

A projectile is the main game element of WarpShot.
Every time a player tighten the slingshot's cord, a projectile appears. The slingshot cannot propulse the projectile if the player didn't apply enough strength to the cord.

The speed of the projectile is defined by the velocity.

A projectile is the cause of two mechanics:


 * Teleport
 * Shoot

The projectile can be destroyed by:


 * An electric field when the projectile touches the center of the pillar
 * The end of its life time
 * It arrives on a surface (Golem/Destructible Object/Altar/wall etc.)

If a projectile touches:


 * An Orb -> it deviates the trajectory of both projectiles by the physical shock
 * A Bouncing Platform -> It enhances the projectile's velocity and deviates it.
 * A Golem -> It destroys the projectile and the enemy.
 * An Advanced Enemy -> It destroys the projectile
 * A wall -> the Player teleports