Uploaded May 2020 | Updated September 2026, 2 weeks ago
Thanks for watching! In this Godot Game Engine tutorial I cover:
- Programming our character to fall with gravity and land on platforms! (using GDscript).
- Jumping when a key (action) is pressed on the keyboard.
- Adjusting the rate of falling and the amount of upward force used to jump.
- Using 'constants' (like variables) in programming for: GRAVITY, JUMP FORCE, and SPEED.
- Fixing the 'land-then-fall' issue by having move_and_side() return a value, updating our character's velocity
- using a KinematicBody2D's is_on_floor() method, and the Vector2.UP constant
Thanks for watching, and don't forget to Like & Subscribe to help the channel! =)
Play the Platformer Game Online Now!: borncg.itch.io
*****************
DONATE to support my channel via PayPal: goo.gl/ThkwyG
****************
LIKE and FOLLOW me on:
FACEBOOK: facebook.com/BornCG
INSTAGRAM: instagram.com/born.cg
FOLLOW me on TWITTER: twitter.com/BornCG
Reddit: reddit.com/u/BornCG
**********************************
Visit my Godot 3 Tutorial Series playlist!:
youtube.com/playlist?list=PLda3VoSoc_TSBBOBYwcmlamF1UrjVtccZ
Visit my Blender 2.8 Tutorial Series playlist:
youtube.com/playlist?list=PLda3VoSoc_TRuNB-5fhzPzT0mBfJhVW-i
Visit my Blender 2.7 Tutorial Series playlist:
youtube.com/playlist?list=PLda3VoSoc_TR7X7wfblBGiRz-bvhKpGkS
My Blender (2.7) Game Engine Basics Series playlist:
youtube.com/playlist?list=PLda3VoSoc_TSS7ht07sCt8zDCyAenOG6i
My Blender (2.7) 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
****************
Thanks for watching! In this Godot Game Engine tutorial I cover:
- Programming our character to fall with gravity and land on platforms! (using GDscript).
- Jumping when a key (action) is pressed on the keyboard.
- Adjusting the rate of falling and the amount of upward force used to jump.
- Using 'constants' (like variables) in programming for: GRAVITY, JUMP FORCE, and SPEED.
- Fixing the 'land-then-fall' issue by having move_and_side() return a value, updating our character's velocity
- using a KinematicBody2D's is_on_floor() method, and the Vector2.UP constant
Thanks for watching, and don't forget to Like & Subscribe to help the channel! =)
Play the Platformer Game Online Now!: borncg.itch.io
*****************
DONATE to support my channel via PayPal: goo.gl/ThkwyG
****************
LIKE and FOLLOW me on:
FACEBOOK: facebook.com/BornCG
INSTAGRAM: instagram.com/born.cg
FOLLOW me on TWITTER: twitter.com/BornCG
Reddit: reddit.com/u/BornCG
**********************************
Visit my Godot 3 Tutorial Series playlist!:
youtube.com/playlist?list=PLda3VoSoc_TSBBOBYwcmlamF1UrjVtccZ
Visit my Blender 2.8 Tutorial Series playlist:
youtube.com/playlist?list=PLda3VoSoc_TRuNB-5fhzPzT0mBfJhVW-i
Visit my Blender 2.7 Tutorial Series playlist:
youtube.com/playlist?list=PLda3VoSoc_TR7X7wfblBGiRz-bvhKpGkS
My Blender (2.7) Game Engine Basics Series playlist:
youtube.com/playlist?list=PLda3VoSoc_TSS7ht07sCt8zDCyAenOG6i
My Blender (2.7) 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
****************
![Godot 3.5: Lets Build a 2D Platformer!: Part 22 (Hearts Counter, Lives, & Singletons)
Thanks for watching! In this Godot Game Engine tutorial I cover how to add lives to your game (collide with an enemy or fall off a cliff and youll lose a life!) + an on-screen Hearts Counter Heads-Up Display. Here are the video chapter timecode links:
- 0:00 - Video Intro
- 0:13 - This mini-series
- 0:47 - In this tutorial (overview) + example
- 1:35 - The Current HUD + HUD Basics
- 3:08 - Importing the Heart Sprites (see download mirror links below)
- 4:21 - Scaling current HUD Elements
- 5:50 - Adding the HUD Hearts with a Texture Rectangle
- 8:31 - Duplicating for Empty HUD Hearts
- 9:25 - Making a Singleton Code File
- 10:41 - Creating a Lives Variable (& Max_Lives)
- 11:35 - Autoloading the Singleton
- 12:41 - Making the Hearts show Lives
- 18:35 - Loading & Refreshing the Hearts
- 19:19 - Losing a Life on Enemy Side-Collision!
- 23:50 - Making a Lose Life Function
- 25:02 - Making a Global HUD Pointer Variable
- 27:05 - Go to *Game Over* when youre out of lives.
- 29:21 - Falling (off a cliff) to Lose a Life
- 34:13 - Restarting the Game with Full Lives
- 36:06 - A Few Outstanding Areas for Improvement...
- 37:07 - Wrapping Up, Call-to-Action, Social Media, Video Outro
*note: In this video I use Godot 3.5 Release Candidate 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 Heart Sprites here (now FIXED!):
MIRROR 1: https://bit.ly/3xesSKK
MIRROR 2: https://www.dropbox.com/s/1i5z13a10dxxdkt/G22-HUD-Hearts.zip?dl=0
****************
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 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 22 (Hearts Counter, Lives, & Singletons)](https://i.ytimg.com/vi/U7Y8zak-LrA/mqdefault.jpg)







![Lets Learn Blender!: Top 10 Essential Camera Tips!
Thanks for watching! In this Blender tutorial I cover: What you need to know to start using Blenders CAMERA!
Video Timecode Chapter Links:
- 0:00 - Video Intro & Welcome
- 0:23 - Video Overview
- 0:39 - #0: The Basics: 3D Camera Objects
- 3:04 - #1: Viewing through the Camera
- 5:25 - #2: Moving the Camera & Lock Camera to View
- 10:43 - #3: Camera Size & Aspect Ratio
- 13:37 - #4: Multiple Cameras & Setting the Active Camera
- 16:19 - #5: Overlays & Guides
- 18:50 - #6: Clipping (near & far)
- 22:39 - #7: Focal Length
- 24:49 - #8: Perspective vs. Orthographic Camera
- 27:21 - #9: Camera Target (& the Track-To Constraint)
- 31:39 - #10: Align Active Camera to View
- 33:26 - Video Wrap-Up, Call-to-Action, & Video Outro.
*Dont for get to click LIKE & SUBSCRIBE & Click the BELL icon!
#b3d #Blender3D
*****************
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/
FOLLOW me on TWITTER: https://twitter.com/BornCG
Reddit: https://www.reddit.com/u/BornCG
**********************************
Visit my Lets Learn Blender! playlist:
https://www.youtube.com/playlist?list=PLda3VoSoc_TQrLrt-voecHs0Mb5qzk2S3
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 2.7 Video Effects Playlist:
https://www.youtube.com/playlist?list=PLda3VoSoc_TQQYZfHuzWtEjh11OTEKXBK
My Blender 2.7 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]
**************** Lets Learn Blender!: Top 10 Essential Camera Tips!](https://i.ytimg.com/vi/VwIiX_P5gME/mqdefault.jpg)

