Godot 3.5: Let's Build a 2D Platformer!: Part 21 (Ladders & Trapdoors!)

Опубликовано: 17 Октябрь 2024
на канале: BornCG
16,864
466

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 - Steve's Finite State Machine
27:24 - Adding Steve's 'LADDER' State
29:14 - Adding Steve's Climbing Animation
30:40 - Coding: Climb onto a Ladder with UP or DOWN
38:42 - Coding: Steve's 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 didn't 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/leyzt5sgt1f...
****************
Get Godot at:
Godot Game Engine - https://godotengine.org/
****************
LIKE and FOLLOW me on:
FACEBOOK:   / borncg  
INSTAGRAM:   / born.cg  
TWITTER:   / borncg  
Reddit:   / borncg  
**********************************
Visit my Godot 3 Tutorial Series playlist!:
   • Godot 3 Tutorial Series  

Visit my Let's Learn Blender! Tutorial Series playlist:
   • Let's Learn Blender!  

Visit my Blender 2.7 Tutorial Series playlist:
   • Blender 2.7 Tutorial Series  

Also check out my Blender Game Engine Basics Series playlist:
   • Blender Game Engine Basics Tutorial S...  

My Blender Video Effects Playlist:
   • VFX in Blender Tutorial Series  

My Character Rigging (Minecraft) Mini-Series Playlist:    • Blender Mini-Series: Character Creati...  

****************
Nicolas from the band 'The Lazy Saviours' created my Intro Jingle! Check out his band's album here:
on Amazon: https://amzn.to/2CID1nz
on iTunes: https://apple.co/2QgqHOU
[not a sponsor]
****************