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

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

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!: https://borncg.itch.io/
*****************
DONATE to support my channel via PayPal: https://goo.gl/ThkwyG
****************
DOWNLOAD the GAME SPRITES & SOUND EFFECT .ZIP Here:
Mirror 1: https://www.dropbox.com/s/2b6ovmu55tqhwck/Platformer-24-Assets.zip?dl=0 />Mirror 2: https://ln5.sync.com/dl/16059a3c0/t8ixi26a-7fgbpktz-2hcd8w2c-nrjz9duk
*****************
Get the Godot Game Engine at: https://www.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 Let’s 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 band’s album here:
on Amazon:
https://amzn.to/2CID1nz
on iTunes: https://apple.co/2QgqHOU
[not a sponsor]
****************

Join the Discussion

Share your thoughts, ask a question, or tell us what you learned. Your first comment is reviewed before it appears. Once approved, future comments using the same name and email can appear directly, subject to spam checks.

Leave a Reply

Your email address will not be published. Required fields are marked *

Fix the Blender logo

Drag the loose piece into the missing part. A close fit is enough.

Loading verification…

Keyboard: arrows to move, Shift for fine adjustment, Enter to check. Verification only; movement is not stored. Logo: Blender.