Ammo Use: Laser Rifle

Energy Ammo Component First, this thing probably needs to have most of its functionality abstracted into a base class called Ammo. There’s a lot going on here that any kind of ammo could use. Of note are the exposures of several private fields via public getter properties. This was necessary because the Weapon is being […]

Basic Attack Mechanism

It’s a frickin’ laser beam! Handling the Input What I thought I needed to deal with: What I actually needed to deal with: The short of it is that everything is an axis in the Input Manager which apparently means that everything returns data from Get Axis Raw. The Attack Sequence The goal of the […]