Game Development Reference
In-Depth Information
Player controller
You may have wondered why we are going to make this player controller. The answer is
simple, to enable the ability to detect the swipe event (actually what looks like a swipe, not
an actual swipe).
Right-click in your Content Browser , add a new blueprint, and select its base class to be
Player Controller . I named it fruitChopperPlayerController . After adding a new blue-
print, don't forget to submit it to the correct slot in the Game Mode blueprint that you
make in each game.
Double-click on the newly created blueprint and from the Defaults tab, adjust the value of
Mouse Interface to enable clicks and touches. Now the blueprints will be able to handle
those events.
Search WWH ::




Custom Search