Summary
In this chapter, you learned a lot about the importance of Visual and Audio Effects in the world of game development. Using a combination of C++ code and notifies, you were able to bring gameplay functionality to the player projectile and the enemy character colliding, as well as a layer of polish to this functionality by adding VFX and SFX. On top of this, you learned about how objects are spawned and destroyed in Unreal Engine 4.
Moreover, you learned about how Animation Montages are played, both from Blueprints and through C++. By migrating the logic of playing the Throw
Animation Montage from Blueprint to C++, you learned how both methods work and how to use both implementations for your game.
By adding a new Animation Notify using C++, you were able to add this notify to the Throw
Animation Montage, which allows the player to spawn the player projectile you created in the previous chapter. Through the use of the UWorld->SpawnActor()
function, and adding a new...