Learn how to do platformer mechanics in Unity with Bolt Visual Scripting. I go through everything in detail and I also compare it to C# scripts for the exact same functionality. Get an introduction and learn bolt, or use the video to decide if visual scripting or C# scripting suits you better.
Time Stamps:
00:00 Intro
** BOLT SECTION
01:00 Install Bolt
02:33 Hero Controller – Create your first Visual Script / Flow Graph
03:20 Keyboard / Joystick Input
03:30 Player Movement Left/Right
08:00 Separating Movement to its own graph from the Hero Controller
08:20 Creating a « Super Unit » – reusable visual scripts
10:30 Creating a « Jump » Super Unit to make the player jump
15:00 Creating a « IsGrounded » Super Unit to avoid flappy bird air jumping
20:50 Creating a « Face Forward » Super Unit to turn the player left/right
23:45 Enable a running animation with Animator Controller
24:00 Transition between Idle and Run animation states
28:00 Reducing sliding effect of player
28:50 Creating a « Jump Animation » Super Unit for jump up animations
31:30 Creating a Animator Blend Tree between jump up/down poses
36:33 Adding a sound effect to jumping
38:20 Overview of all Visual Graphs to control the player
39:30 Creating a « Limit Fall Speed » Super Unit to prevent falling between tiles
42:30 Creating a smooth Camera Follow Visual Graph
** C# SECTION
49:30 Re-creating the Hero Controller in C#
50:00 Recreating the Move Graph in C#
52:02 Recreating the Jump Graph in C#
53:56 Recreating the Is Grounded Graph in C#
56:28 Recreating the Face Forward Graph in C#
57:36 Recreating the Move Animation Graph in C#
58:14 Recreating the Jump Fall Animation Graph in C#
59:46 Recreating the Limit Fall Speed Graph in C#
01:00:45 Recreating the Camera Fallow Graph in C#
01:02:30 Playing the jump sound effect in C#
01:04:00 Outro and Final Thoughts
The videos mentioned in the intro:
10MMC Episode 41 – Modeling the Level Assets and setting up the Unity Project –
10MMC Episode 42 – Modeling and animating the Hero – https://youtu.be/67vVPd0OdXQ
10MMC Episode 43 – Modeling the Environment –
My Universal Sound Effects library:
https://www.imphenzia.com/universal-sound-fx
You can support me on Patreon (this project will be published there):
https://patreon.com/imphenzia
Learn Unity for absolute beginners:
In-depth learn how Low Poly Modeling in Blender:
Imphenzia Merch is available:
https://teespring.com/stores/imphenzia
My Twitch Channel:
https://twitch.tv/imphenzia
Official web site:
https://www.imphenzia.com
Twitter:
Tweets by Imphenzia
My Itch.Io page with all my Ludum Dare games:
https://imphenzia.itch.io/
Imphenzia Discord server invite:
https://discord.gg/sR7pZ4B
Thanks a lot for watching and sharing my videos 🙂
Source