Genre Third-person platformer
Engine Unreal Engine 4
Role Gameplay Programmer
Date April 2022
Video
<aside> ❓ Tobor is third-person platformer game made by a team of 9 developers. You are a robot that has lost its leg somewhere in the factory. Hop on and retrieve it!
</aside>
<aside>
💡 The character moves in an odd way : it can only jump. I used a Timer to make it continuously jump forward as long as the W key is held. Upon landing on the ground after each jump, the velocity resets.
Each jump has a fixed distance and the player can choose between short jumps and long jumps by pressing Shift. The acceleration is set very high so that the character can instantly jump a fixed distance.
I added a screen shake effect whenever the character lands on the ground to add more game feel. I created the pulsating yellow circle under it to indicate the distance that it can reach with a jump.
</aside>

Code for the jump movement
<aside> 💡 I integrated the character’s animations and bound them to its movement states.
The most difficult part was separating the small jumps (hop) to the big ones. I had to insert a State Machine into the Jumping state for the parent State Machine to know the difference.
</aside>

Main StateMachine

StateMachine in the Jumping state
