Unreal Engine 4 Beginner’s Tutorial #7 - Make A Garden (Input Basics)
In this lesson we’ll learn how to create basic input events in UE4 in order to do cool things when players press keys or buttons. We’ll also learn about the difference between player controllers and player pawns, how to set up a controller and pawn, and about UE4’s game mode system.
More information about game modes can be found here:
HOMEWORK ASSIGNMENT:
Given everything we learned today, if you’re feeling up to a challenge, try this exercise: Can you create multiple kinds (or colors) of flowers the player can place using different keys-- but also have it be the case that the delete key deletes flowers of any type/color?
Hint: there are a number of ways to solve this problem, but the easiest place to start would be to make each flower its own Actor class and modify the “delete“ code so that it looks for Actors of each flower type!