Double Jumps, Gravity & Variable Height with Unity Input System - 2D Platformer Unity #3

Published: 30 August 2023
on channel: Game Code Library
8,439
254

*FREE Code script on my Patreon!!*
In this episode we'll be getting our player jumping, double jumping and jumping with a variable height using Unity's 'new' Input System! We'll also look into adding cool feeling to our game with gravity modifiers - making us fall faster or slower!

We'll be working with the Input System throughout this platformer series, so check out our future episodes for more implementations.

❗️❗️❗️📢 BUY THE COMPLETE GAME TEMPLATE NOW!!! 👾❗️❗️❗️
https://gamecodelibrary.itch.io/2d-pl...

All source code for all videos I have made and will make in the future can be found on my Patreon:
  / double-variable-88474511  

Check out the series previous videos:
   • Game Plan and Unity Setup -  2D Platf...  
   • Movement with Unity Input System -  2...  
   • Sprite Sheet to Tilemap -  2D Platfor...  

Sprite sheet: https://www.kenney.nl/assets/1-bit-pl...

I'll be posting new videos every week, so be sure to subscribe to see what kind of adventure we can go on together! I'm excited! :-)

If you have any suggestions, feedback or questions, be sure to comment below! Any opinions will help me out on this journey ♡

0:00 - Intro
0:10 - Unity Input System
1:05 - Jump
2:04 - Variable Jump Height
2:42 - Ground Check Layer
5:32 - Ground Check Script
6:12 - Fix Sticking to Platform (Friction)
6:38 - Double Jump
7:44 - Gravity Modifiers
9:36 - Slow Fall
9:51 - Fast Fall
10:18 - Outro


Watch video Double Jumps, Gravity & Variable Height with Unity Input System - 2D Platformer Unity #3 online without registration, duration hours minute second in high quality. This video was added by user Game Code Library 30 August 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 8,439 once and liked it 254 people.