In this tutorial you will not only learn how to create amazing platform movement but also how to become better programmer.
Assets:
https://pitiit.itch.io/free-2d-fantas...
The project github repository containing assets and code:
Starting point:
https://github.com/x1r15/BasicPlatfor...
After tutorial:
https://github.com/x1r15/BasicPlatfor...
C# & .NET theory:
Enums - https://docs.microsoft.com/en-us/dotn...
Interfaces - https://docs.microsoft.com/en-us/dotn...
Extension methods - https://docs.microsoft.com/en-us/dotn...
Small disclaimer regarding the IInputProvider implementation with Set:
I am aware that implementation of the input provider is not best, in one of the future tutorials I want to replace it with Queue, just didn't want to introduce too much theory as there are already few concepts in the video. Love you all!
0:00 Intro
0:20 Tilemap Collisions Setup
1:05 Character Setup
1:58 Theory - Enums
2:32 Theory - Interfaces
3:13 Theory - Extension Methods
3:35 Horizontal Movement
8:21 Horizontal Movement Test
8:27 Broken (purposely) Jumping
10:40 Testing Broken Jumping
11:00 Getting Stuck on Edges - Fix
11:32 Constant Applying Velocity - Fix
14:23 Testing Fixed Jump
14:29 What's Next?
Watch video Unity Tutorial: Platform Movement (Extensible, Clean Code) online, duration hours minute second in high quality that is uploaded to the channel PitiIT 05 November 2021. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 4,357 times and liked it 149 visitors.