Uploaded August 2024 | Updated September 2026, 2 weeks ago
In this lesson I'll show you how to improve the movement of our game's player, by making it always align with the ground it's walking on. This involves a few lines of code we'll separate into its own custom function with some 'BIG' 3D transformation mathematical concepts, but let's take it step by step!
Thanks for watching! Here are the video chapter timecode links:
- 0:00 - Video Intro
- 0:07 - Where our project stands & Overview
- 1:07 - Adding a RayCast3D to Steve
- 4:06 - Starting to Code, & Classes Used
- 5:59 - Xform Var & Custom Function
- 14:56 - Coding: Cross product & Orthonormalize
- 18:18 - Coding: Smoothing Transitions
- 20:42 - Fix: Player Jumping Orientation
- 22:10 - Issue Fix(?): Edge Transition Flickering
- 25:27 - Final Code, Wrap-Up & Outro
Don't forget to LIKE & SUBSCRIBE! 🥰 👍
*note: in this lesson I use Godot 4.1
Play and Download the Finished 3D Platformer Game Online Now!: borncg.itch.io/3d-platformer-game (use: Chrome/Edge/Firefox to play the web game version)
*****************
DONATE to support my channel via PayPal: goo.gl/ThkwyG
********************************
LIKE and FOLLOW me on:
FACEBOOK: facebook.com/BornCG
INSTAGRAM: instagram.com/born.cg
X / TWITTER: twitter.com/BornCG
Reddit: reddit.com/u/BornCG
**********************************
Visit this Godot 4 Beginners: 3D Platformer Course playlist!:
youtube.com/playlist?list=PLda3VoSoc_TTp8Ng3C57spnNkOw3Hm_35
Visit my Let's Learn Blender! Tutorial Series playlist:
youtube.com/playlist?list=PLda3VoSoc_TQrLrt-voecHs0Mb5qzk2S3
****************
Nicolas from the band 'The Lazy Saviours' created my Intro Jingle!
****************
In this lesson I'll show you how to improve the movement of our game's player, by making it always align with the ground it's walking on. This involves a few lines of code we'll separate into its own custom function with some 'BIG' 3D transformation mathematical concepts, but let's take it step by step!
Thanks for watching! Here are the video chapter timecode links:
- 0:00 - Video Intro
- 0:07 - Where our project stands & Overview
- 1:07 - Adding a RayCast3D to Steve
- 4:06 - Starting to Code, & Classes Used
- 5:59 - Xform Var & Custom Function
- 14:56 - Coding: Cross product & Orthonormalize
- 18:18 - Coding: Smoothing Transitions
- 20:42 - Fix: Player Jumping Orientation
- 22:10 - Issue Fix(?): Edge Transition Flickering
- 25:27 - Final Code, Wrap-Up & Outro
Don't forget to LIKE & SUBSCRIBE! 🥰 👍
*note: in this lesson I use Godot 4.1
Play and Download the Finished 3D Platformer Game Online Now!: borncg.itch.io/3d-platformer-game (use: Chrome/Edge/Firefox to play the web game version)
*****************
DONATE to support my channel via PayPal: goo.gl/ThkwyG
********************************
LIKE and FOLLOW me on:
FACEBOOK: facebook.com/BornCG
INSTAGRAM: instagram.com/born.cg
X / TWITTER: twitter.com/BornCG
Reddit: reddit.com/u/BornCG
**********************************
Visit this Godot 4 Beginners: 3D Platformer Course playlist!:
youtube.com/playlist?list=PLda3VoSoc_TTp8Ng3C57spnNkOw3Hm_35
Visit my Let's Learn Blender! Tutorial Series playlist:
youtube.com/playlist?list=PLda3VoSoc_TQrLrt-voecHs0Mb5qzk2S3
****************
Nicolas from the band 'The Lazy Saviours' created my Intro Jingle!
****************
![Godot 3.5: Lets Build a 2D Platformer!: Part 21 (Ladders & Trapdoors!)
Thanks for watching! In this Godot Game Engine tutorial I cover how to add ladders to a 2D platformer game that the player can climb up and down, even from above a platform through a trapdoor - all programmed in GDScript. Here are the video chapter timecode links:
- 0:00 - Video Intro
- 0:13 - This mini-series
- 0:42 - In this tutorial (overview) + example
- 2:08 - Importing the Ladder Sprites (see download mirror links below)
- 3:33 - Drawing the Ladder Tiles
- 9:01 - Making the Ladder Solid
- 11:57 - Setting the Ladder Collision Layer
- 13:47 - Giving Steve a Ladder Checker Area2D
- 17:01 - Allow Steve to Detect Ladders
- 23:57 - Steves Finite State Machine
- 27:24 - Adding Steves LADDER State
- 29:14 - Adding Steves Climbing Animation
- 30:40 - Coding: Climb onto a Ladder with UP or DOWN
- 38:42 - Coding: Steves Ladder Movement
- 46:19 - Coding: Getting Off the Ladder
- 49:10 - Fix: Climbing Down a Ladder to a Floor
- 50:53 - Coding: Jumping Off a Ladder
- 53:03 - Improving the One-Way Platforms
- 58:54 - Making a Pass-Through Tile (for a Ladder)
- 1:01:32 - Making a Trapdoor
- 1:08:16 - Coding the Trapdoor
- 1:15:22 - Easily Make More Ladders!
- 1:17:35 - Fixing a Bug: Sliding Over Corners
- 1:22:05 - Fixing a Bug: Jumping on Ladders
- 1:23:19 - Fixing a Bug: Heel-Clicking Through One-Way Platforms
- 1:28:19 - Wrapping Up, Call-to-Action, Social Media, Video Outro
*note: In this video I use Godot 3.5 Beta 4. (I didnt experience any issues with the beta).
#godotengine #gamedev
Play the Full Platformer Game Online Now!: https://borncg.itch.io/
*****************
DONATE to support my channel via PayPal: https://goo.gl/ThkwyG
****************
DOWNLOAD the Ladder Sprites here:
MIRROR 1: https://bit.ly/3kSiW3w
MIRROR 2: https://www.dropbox.com/s/leyzt5sgt1flp0l/ladder_sprites.zip?dl=0
****************
Get Godot at:
Godot Game Engine - https://godotengine.org/
****************
LIKE and FOLLOW me on:
FACEBOOK: http://www.facebook.com/BornCG
INSTAGRAM: https://www.instagram.com/born.cg/
TWITTER: https://twitter.com/BornCG
Reddit: https://www.reddit.com/u/BornCG
**********************************
Visit my Godot 3 Tutorial Series playlist!:
https://www.youtube.com/playlist?list=PLda3VoSoc_TSBBOBYwcmlamF1UrjVtccZ
Visit my Lets Learn Blender! Tutorial Series playlist:
https://www.youtube.com/playlist?list=PLda3VoSoc_TQrLrt-voecHs0Mb5qzk2S3
Visit my Blender 2.7 Tutorial Series playlist:
https://www.youtube.com/playlist?list=PLda3VoSoc_TR7X7wfblBGiRz-bvhKpGkS
Also check out my Blender Game Engine Basics Series playlist:
https://www.youtube.com/playlist?list=PLda3VoSoc_TSS7ht07sCt8zDCyAenOG6i
My Blender Video Effects Playlist:
https://www.youtube.com/playlist?list=PLda3VoSoc_TQQYZfHuzWtEjh11OTEKXBK
My Character Rigging (Minecraft) Mini-Series Playlist: https://www.youtube.com/playlist?list=PLda3VoSoc_TRWPzZHPqJlHfS0kOeQzQUQ
****************
Nicolas from the band The Lazy Saviours created my Intro Jingle! Check out his bands album here:
on Amazon: https://amzn.to/2CID1nz
on iTunes: https://apple.co/2QgqHOU
[not a sponsor]
**************** Godot 3.5: Lets Build a 2D Platformer!: Part 21 (Ladders & Trapdoors!)](https://i.ytimg.com/vi/YOO_Ifcza6I/mqdefault.jpg)
![Godot 3.2: Lets Build a 2D Platformer!: Part 15 (Menu Screens, Buttons, Default Scene)
Thanks for watching! In this Godot Game Engine tutorial I cover:
- 0:00 - Video Intro
- 2:10 - Overview of current state of project
- 3:06 - Making a Title Menu Screen (Scene)
- 3:55 - Adding and Using a Color Rectangle (Menu Background)
- 6:06 - Resources (UI Elements & more Fonts) provided with this tutorial
- 8:38 - Creating a Label (Text Title) and using Fonts, Font Size, Color
- 11:26 - Adding and Styling a Panel (Style Box Flat) & More Menu Elements including Texture Rectangle
- 15:40 - Adding a Button + Button Hover & Pressed states (colors), & flat style
- 20:04 - Programming a Button to change scenes (gdscript) using a signal
- 23:57 - Setting your projects Default Scene (that will load when the game starts or Play is played)
- 24:22 - Creating Game Over and You Win! screens! (quickly)
- 25:40 - Editing the games code so that enemy collisions and falling send the game to the Game Over screen, and collecting all coins sends the game to the You Win! screen
#godotengine #gamedev
Play the Platformer Game Online Now!: https://borncg.itch.io/
*****************
DONATE to support my channel via PayPal: https://goo.gl/ThkwyG
****************
DOWNLOAD the .zip file UI Elements & More Fonts:
Download Mirror 1: https://bit.ly/3EVV3Bo
Download Mirror 2: https://www.dropbox.com/s/r1mbiznqcsghlkb/platformer-p15-assets.zip?dl=0
( find more game assets at www.kenney.nl and fontlibrary.org ! ) [neither are sponsors]
****************
LIKE and FOLLOW me on:
FACEBOOK: http://www.facebook.com/BornCG
INSTAGRAM: https://www.instagram.com/born.cg/
FOLLOW me on TWITTER: https://twitter.com/BornCG
Reddit: https://www.reddit.com/u/BornCG
**********************************
Visit my Godot 3 Tutorial Series playlist!:
https://www.youtube.com/playlist?list=PLda3VoSoc_TSBBOBYwcmlamF1UrjVtccZ
Visit my Blender 2.8 Tutorial Series playlist:
https://www.youtube.com/playlist?list=PLda3VoSoc_TRuNB-5fhzPzT0mBfJhVW-i
Visit my Blender 2.7 Tutorial Series playlist:
https://www.youtube.com/playlist?list=PLda3VoSoc_TR7X7wfblBGiRz-bvhKpGkS
Also check out my Blender Game Engine Basics Series playlist:
https://www.youtube.com/playlist?list=PLda3VoSoc_TSS7ht07sCt8zDCyAenOG6i
My Blender Video Effects Playlist:
https://www.youtube.com/playlist?list=PLda3VoSoc_TQQYZfHuzWtEjh11OTEKXBK
My Character Rigging (Minecraft) Mini-Series Playlist: https://www.youtube.com/playlist?list=PLda3VoSoc_TRWPzZHPqJlHfS0kOeQzQUQ
****************
Nicolas from the band The Lazy Saviours created my Intro Jingle! Check out his bands album here:
on Amazon: https://amzn.to/2CID1nz
on iTunes: https://apple.co/2QgqHOU
[not a sponsor]
**************** Godot 3.2: Lets Build a 2D Platformer!: Part 15 (Menu Screens, Buttons, Default Scene)](https://i.ytimg.com/vi/YT4-Qw4VTsU/mqdefault.jpg)








