Creating the Character

Alright, it's time to create our character. Start by creating the code files for the character. Open the C++ class wizard (navigate to File | New C++ Class…). Choose Character for the base class and name this new class BountyDashCharacter. This will create a new class of type ABountyDashCharacter that publically inherits from UCharacter. This character will need to be able to navigate between three lanes of incoming objects and coins. It will need to be able to jump and run while playing the corresponding animations. Finally, it should also include a camera that we can use as the main game camera.

What we have been given

As it was with the AHelloSphere object we created with the class wizard, some default functionality has ...

Get Unreal Engine 4.X By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.