Energy Blast - StudioAspen/AAAGame2023-2024 GitHub Wiki

Requirements

  • hitscan, meaning there is no travel time between activating the ability and hitting the target
  • Will hit many different things and have different effects for each
  • Has max of 3 uses of this ability, these uses recharge after a specified amount of seconds
  • Usable while walking, running, wall slashing, and in the air (does not halt movement)
  • Reticle in the middle of the screen to assist with shooting
  • Uses the hand not holding the sword to shoot the blast

Design Requirements

  • Create an abstract class EnergyBlastedEffect that includes a public abstract void TriggerEffect() function, so we can implement the function with custom effects for each script that inherits from that abstract class
  • Expose these variables for designers
Name Description Type
maxNumOfCharges the maximum number of charges the player has int
rechargeTimer the time it takes to gain another charge (measured in seconds) float
timeBetweenShots the time it takes before you can fire another shot after you just fired one (measured in seconds) float
⚠️ **GitHub.com Fallback** ⚠️