The game
For this chapter, we are going to extend the flying template of UE4. The final result will be a beat-the-time game where the player will fly around the level, trying to collect as many collectables as possible before the time ends. There will be a menu with buttons, particle system for the player and collectables, and a user interface that shows the score. We will also implement a power bar that increases when a collectable is collected and decreases when the player uses its boost.
Without further ado, let's open the launcher and create a new project, starting from the flying Blueprint template. Call it UFO_Run
and, as usual, leave the other settings as the default:
What you will see once it opens is a stylized city, a nice sky and a pawn character that is ready to be used. The gameplay of the template allows you to fly around with your ship, move using the arrow keys, and accelerate/decelerate using spacebar or other keys (you can check the key binding of the level by navigating...