Framework — New Health Upgrade & Unique Secondary Weapon Pickup!

Ryan A
2 min readApr 15, 2021

Adding in a health powerup was a no brainer — we need to give the players a chance to survive. However, thinking of a unique new weapon was the fun part!

New Health Pickup!

Creating the health pickup was pretty easy, and is just adding to the _lives variable.

New Hack powerup!

Although there are a lot of “go to” concepts in video games like lives, laser beams, etc — I always try to find something thats unique. In this current challenge of implementing a new weapon type, I went with a “Hack”!

The functionality of this particular weapon type is not 100% hashed out yet, but currently in game upon pickup, it adds 2 visual hack balls to your ship. Upon firing, it seeks out a nearby enemy (within a radius around the ball), attaches itself to the ship, and forces it to move in a random direction.

If the infected ship impacts another ship, they both explode. I was thinking of adding in bonus points for shooting an infected ship while its spiraling out of control but — we’ll see!

The concept is there but not 100% flushed out yet! Oh I also updated some of the visuals, and added a Thruster bar :) More on that in the next story!

Noobs out.

--

--