robert-kuropkat / PUDP-StarShooterPro

2D Space Shooter for the GameDevHQ Professional Unity Developer Program
0 stars 0 forks source link

Secondary Fire PowerUp #1

Closed robert-kuropkat closed 13 hours ago

robert-kuropkat commented 1 month ago
robert-kuropkat commented 1 week ago

Created 360 degree/Spiral laser fire activated in the Weapons.cs script through a property and methods similar to TripleShot. Can be tested by toggling the boolean in the Inspector. Script is attached to the Player->Weapons game object.

Still need to implement the rest of the powerup management.

robert-kuropkat commented 1 week ago

Since this is supposed to be a rare spawn, I am thinking to change the selection criteria. It currently just randomizes over the length of the array. I am thinking to change the selection criteria to b 1-100 and let each powerup have a range of values correlating to the percentage they should spawn.

robert-kuropkat commented 1 week ago

Currently planning to make this a "stored" powerup allowing the player to choose when to use it. Thus, I need additional UI elements and a way to trigger it. Thinking Ctrl-Space key sequence.