Shot Scripts

A collection of scripts which drive bullet and laser shot behaviors.

  • BlastAnimBase – base class for creating blast behavior.
  • BlaseMissile – class for creating a simple blasting jet animation seen in homing missiles.
  • FireBase.cs – base monobehavior class for firing script attached to emitters.
  • FireBullet.cs – monobehavior firing script attached to emitter for firing bullet type shots.
  • FireExpanding.cs – monobehavior firing script attached to emitter for firing laser type shots.
  • GlobalShotManager.cs – singleton monobehavior class which instantiates the GlobalShotManager prefab used to manage a host of global game states.
  • ShotBase.cs – base monobehavior class for handling all basic shot behaviors.
  • ShotBaseAnimatable.cs – monobehavior for Shots that can be animated with sprite frames.
  • ShotBaseScalable.cs – monobehavior for Shots that can be scaled.
  • ShotBaseRotatable.cs – monobehavior for Shots that can be rotated.
  • ShotBaseColorizable.cs – monobehavior for Shots that can be colorized in real-time.
  • ShotBullet.cs – base monobehavior class for all bullet type Shots.
  • ShotAccelerating.cs – monobehavior which propels Shots at an accelerating pace.
  • ShotBoomerang.cs – monobehavior for Shots which come back to their emitter after a set time limit.
  • ShotBurstPhysics.cs – monobehavior for Shots using inertial physics in bursting intervals.
  • ShotEmitPattern.cs – monobehavior for Shots which carry their own controllers/emitters that can fire their patterns during the parent Shot’s trajectory.
  • ShotExploding.cs – monobehavior for Shots which carry their own controllers.emitters, setting off an event that appears to explode the bullet into more bullets.
  • ShotParticleExplodeOnHit.cs – similar in structure to ShotExploding, however, triggers the appearance of an exploding bullet once it collides with another object.
  • ShotGravitational.cs – monobehavior for physics Shots which respond to gravity, particularly arcing trajectories.
  • ShotHoming.cs – monobehavior for Shots which home in on targets, either singular or in groups.
  • ShotHomingInertial.cs – monobehavior for Shots which home in on targets, either singular or in groups, using inertial bursts in intervals.
  • ShotLaser.cs – monobehavior base class for all laser type Shots.
  • ShotLaserPacket.cs – monobehavior class for lasers which detach into bullet type packets.
  • ShotLinearNonPhysics.cs – monobehavior class for all linear non-physics Shots.
  • ShotNonPhysics.cs – repoolable version of ShotLinearNonPhysics.
  • ShotLinearPhysics.cs – monobehavior class for all repoolable linear physics-based Shots.
  • ShotPhysics.cs – base monobehavior class for physics-based Shots.
  • ShotReAngle.cs – monobehaviour class for Shots which change their trajectory at an angle.
  • ShotSpeedWave.cs – monobehavior class for Shots which change their acceleration in a wave-like pattern.