Godot 3.5: Let's Build a 2D Platformer!: Part 23 (Blinking & Getting Hurt)

Опубликовано: 07 Октябрь 2024
на канале: BornCG
7,977
298

Thanks for watching! In this Godot Game Engine tutorial I cover how to make your player character blink white & red when hurt (after touching an enemy), how to prevent getting hurt while already hurt & blinking, & preventing coin-collecting & shooting fireballs while hurt. Here are the video chapter timecode links:

0:00 - Video Intro
0:13 - This mini-series
0:50 - In this tutorial (overview) + examples
2:28 - How getting hurt currently works
3:32 - Moving a little code...
4:02 - Editing Steve's Timer for Blinking
5:33 - Adding a 'Hurt' Counter Variable
7:34 - Making Steve Bright While
8:52 - Counting the Blinks (20 down to 0)
9:22 - Going Back to Normal
10:09 - Blinking White/Red
14:21 - Preventing Enemy & Coin Collisions
20:10 - Preventing Shooting While Hurt
22:10 - Wrapping Up, Call-to-Action, Social Media, Video Outro

*note: In this video I use Godot 3.5 Release Candidate 5.

#godotengine #gamedev

Play the Full Platformer Game Online Now!: https://borncg.itch.io/
*****************
DONATE to support my channel via PayPal: https://goo.gl/ThkwyG
****************
Get the Godot Game Engine at: https://www.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]
****************