In this lesson I’ll show you how to add a large ‘zone’ beneath our game level’s platforms that detects collisions , which will cause the game to switch to a different scene/screen when the player falls off a platform and enters it! Later in this course we’ll be using this functionality to switch to a ‘game over’ screen if the player falls to their peril, but for now we’ll simply re-start the game level.

Thanks for watching! Here are the video chapter timecode links:

– 0:00 – Video Intro
– 0:07 – Where our project stands & Overview
– 0:53 – Adding a Fall Zone
– 4:10 – Fall Zone Detection (using Signals)
– 7:04 – Switching Scenes (with code)
– 9:58 – 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!: https://borncg.itch.io/3d-platformer-game (use: Chrome/Edge/Firefox to play the web game version)
*****************
DONATE to support my channel via PayPal: https://goo.gl/ThkwyG

********************************
LIKE and FOLLOW me on:
FACEBOOK: http://www.facebook.com/BornCG
INSTAGRAM: https://www.instagram.com/born.cg/
X / TWITTER: https://twitter.com/BornCG
Reddit: https://www.reddit.com/u/BornCG
**********************************
Visit this Godot 4 Beginners: 3D Platformer Course playlist!:
https://www.youtube.com/playlist?list=PLda3VoSoc_TTp8Ng3C57spnNkOw3Hm_35 />
Visit my Let’s Learn Blender! Tutorial Series playlist:
https://www.youtube.com/playlist?list=PLda3VoSoc_TQrLrt-voecHs0Mb5qzk2S3 />
****************
Nicolas from the band ‘The Lazy Saviours’ created my Intro Jingle!
****************

Vastaa

Sähköpostiosoitettasi ei julkaista. Pakolliset kentät on merkitty *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>