Godot 3.5: Lets Build a 2D Platformer!: Part 24 (Jump on a Button to Reveal Blocks!) @BornCG
Godot 3.5: Lets Build a 2D Platformer!: Part 24 (Jump on a Button to Reveal Blocks!)  @BornCG
Uploaded November 2022 | Updated September 2026, 2 weeks ago
Thanks for watching! In this Godot Game Engine tutorial I cover how to add Empty Placeholder Blocks to your Platformer Game that are replaced with Solid Blocks when the player finds and jumps on a button or switch. Here are the video chapter timecode links:

- 0:00 - In this tutorial (overview) + example
- 1:25 - Video Intro
- 3:49 - Adding a New Floating Platform
- 5:20 - Two New TileMaps
- 10:34 - TileMap Collision Layers & Masks
- 13:53 - Creating an In-Game Button or Switch
- 20:40 - Adding Button Collision Shapes
- 25:02 - Adding a Script File to the Button
- 26:09 - Writing Down Important Collision Shape Info (into Code Comments)
- 28:04 - The Button's 'Up' Collision Shape Transformation
- 29:32 - The Button's Collision Layers & Masks
- 30:32 - Adding a Button 'TopChecker'
- 33:19 - Detecting a Player on the Button
- 37:43 - Pushing the Button
- 41:09 - Pushing Down the Button's Collision Shape
- 44:07 - Making the Empty Blocks Invisible
- 49:17 - Making the Solid Blocks Visible
- 50:45 - Making the Solid Blocks Collide
- 52:55 - The Button's 'Click' Sound
- 55:43 - Fixing Multiple Button Presses
- 58:20 - Button Location in the Level & in my Demo Game @ itch.io
- 58:40 - Wrap-Up, Social Media, & Call-to-Action

*note: In this video I use Godot 3.5.1

#godotengine #gamedev

Play the Full Platformer Game Online Now!: borncg.itch.io
*****************
DONATE to support my channel via PayPal: goo.gl/ThkwyG
****************
DOWNLOAD the GAME SPRITES & SOUND EFFECT .ZIP Here:
Mirror 1: dropbox.com/s/2b6ovmu55tqhwck/Platformer-24-Assets.zip?dl=0
Mirror 2: ln5.sync.com/dl/16059a3c0/t8ixi26a-7fgbpktz-2hcd8w2c-nrjz9duk
*****************
Get the Godot Game Engine at: godotengine.org
****************
LIKE and FOLLOW me on:
FACEBOOK: facebook.com/BornCG
INSTAGRAM: instagram.com/born.cg
TWITTER: twitter.com/BornCG
Reddit: reddit.com/u/BornCG
**********************************
Visit my Godot 3 Tutorial Series playlist!:
youtube.com/playlist?list=PLda3VoSoc_TSBBOBYwcmlamF1UrjVtccZ

Visit my Let's Learn Blender! Tutorial Series playlist:
youtube.com/playlist?list=PLda3VoSoc_TQrLrt-voecHs0Mb5qzk2S3

Visit my Blender 2.7 Tutorial Series playlist:
youtube.com/playlist?list=PLda3VoSoc_TR7X7wfblBGiRz-bvhKpGkS

Also check out my Blender Game Engine Basics Series playlist:
youtube.com/playlist?list=PLda3VoSoc_TSS7ht07sCt8zDCyAenOG6i

My Blender Video Effects Playlist:
youtube.com/playlist?list=PLda3VoSoc_TQQYZfHuzWtEjh11OTEKXBK

My Character Rigging (Minecraft) Mini-Series Playlist: youtube.com/playlist?list=PLda3VoSoc_TRWPzZHPqJlHfS0kOeQzQUQ

****************
Nicolas from the band 'The Lazy Saviours' created my Intro Jingle! Check out his band's album here:
on Amazon: amzn.to/2CID1nz
on iTunes: apple.co/2QgqHOU
[not a sponsor]
****************
Godot 3.5: Lets Build a 2D Platformer!: Part 24 (Jump on a Button to Reveal Blocks!)Blender 2.7 Tutorial #52 : 10 Essential Camera TipsBlender 2.7 Tutorial #68: Shattering Objects with Cell Fracture #b3dBlender 2.7 Tutorial #38 : IK Rigging (Part 2/2) #b3dSIX GameDev Channels that will POWER UP your Godot!Godot 4 3D Platformer Lesson #9: Smooth Camera FollowingBlender Game Engine Basics Tutorial #13 : Health Bars #b3d #gamelogicBlender 2.7 Tutorial #74: Christmas Lights #b3dGodot 3.2: Lets Build a 2D Platformer!: Part 6 (Camera-Follow & Game Resolution) #godotengineBlender 2.7 Tutorial #28 : The Remesh Modifier #b3dGodot 4 3D Platformer Lesson #2: Solid Objects & Physics Simulation!Godot 4 3D Platformer Lesson #18: Coins Heads-Up Display (HUD)!
BornCG |

Godot 3.5: Let's Build a 2D Platformer!: Part 24 (Jump on a Button to Reveal Blocks!)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER