Incorporating power-ups into Bounty Dash

We have successfully created and integrated a power-up plugin and plugin module into our game project. Now we can utilize the functionality of this plugin to incorporate power ups in the Bounty Dash project. We are going to have to create a way for the power ups to spawn, collide, and affect the game state of the Bounty Dash character. Let's start by spawning the power ups.

Modifying the Coin Spawner

Instead of creating a whole new spawner object for power ups, we can augment one of our previously created objects to incorporate power-up spawns. As our coin spawner already provides most of the functionality we require, we can modify this class. We are going to adjust this class so that every time a coin would ...

Get Unreal Engine 4.X By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.