Introduction
In the previous chapter, you created the player projectile and used Anim Notifies
to spawn the player projectile during the Throw
animation. The player projectile will serve as the player's main offensive gameplay mechanic to use against the enemies throughout the level. Due to the combination of default Anim Notifies
provided by Unreal Engine 4 and your own custom Anim_ProjectileNotify
class, the player projectile mechanic looks and feels great.
The last set of mechanics that we need to develop are the coin collectible and potion power-up. Let's briefly break down how collectibles and power-ups have influenced other games, and what they will accomplish for our SuperSideScroller
game.
Coin Collectible
Collectibles give the player an incentive to explore the level thoroughly. In many games, such as Hollow Knight, collectibles also serve as a form of currency that can be used to purchase upgrades for your character and items. In other, more classic platformers...