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

Опубликовано: 30 Август 2023
на канале: 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


Смотрите видео Double Jumps, Gravity & Variable Height with Unity Input System - 2D Platformer Unity #3 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Game Code Library 30 Август 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 8,439 раз и оно понравилось 254 людям.