Phase I — Progress Report — Player speed boost (hyperdrive)

Luke Duckett
2 min readMay 3, 2021

This update is going to cover the new hyperdrive function added to the player.

The player can press the shift button to give them a small temporary boost of speed (less duration and speed bonus compared to the speed boost powerup).

Using the new input system we trigger the effect

The functionality of this has been limited so it cannot be stacked with the powerups effect. The function works by providing the player with a limited amount of boost to use.

This will begin charging after a certain delay each time the player releases the button.

UI elements have been built in so the player can see how much boost they have remaining, and they are able to see the effect “charge” up. The thruster also changes colour while the boost is active

The UI element is achieved by using a sprite mask, where the remaining boost value is passed into the “fill amount”

Now we can see everything in action.

--

--

Luke Duckett

🎮 First Nations Unity Dev from Wonnarua country 🏞️ | From Player to Lifelong Learner: Crafting Games, Debugging Code, and Embracing New Technology