BornCG | Godot 3.2: Let's Build a 2D Platformer!: Part 14 (Enemy Collisions, Getting Hurt, Enemy Colors!) @BornCG | Uploaded July 2020 | Updated October 2024, 18 hours ago.
Thanks for watching! In this Godot Game Engine tutorial I cover:
0:00 - Video Intro
1:35 - Review of enemies from Part 13
2:54 - Adding a 'Top Checker' Area2D (to check if the player has landed on the top of the enemy)
5:19 - Making the Enemy Always play its 'Crawl' animation
5:53 - Using a signal to detect if a the player enters the 'top checker' Area2D
7:40 - Squashing and Stopping the enemy when landed on
10:49 - Removing enemy collisions after being squashed
16:37 - Adding a 'Sides Checker' Area2D to the enemy with a Signal & Function
21:50 - Reset the game level (switch scene) when the player collides with the side of an enemy
26:57 - Making the Enemy Disappear after a second after it is squashed (using a Timer node)
31:29 - Fixing the scene re-starting problem ('sides checker' is colliding with corners of platforms)
33:23 - Bouncing off the top of an enemy! (+ writing a 'custom' "bounce" function)
37:39 - Turning transparent red & be thrown when hit by (the side of) an enemy!
50:26 - Wait a second after being hit before resetting the game level (change the scene)
53:51 - 'Bottom Checker' challenge!
54:50 - Changing enemy color based on 'detects cliffs' ability!
58:19 - Wrap-up and code review
- Note: As of the last tutorial (Part 13) I am using Godot 3.2.2 (up from 3.2.1 in the previous parts of this mini-series).
#godotengine #gamedev
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
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]
****************
Thanks for watching! In this Godot Game Engine tutorial I cover:
0:00 - Video Intro
1:35 - Review of enemies from Part 13
2:54 - Adding a 'Top Checker' Area2D (to check if the player has landed on the top of the enemy)
5:19 - Making the Enemy Always play its 'Crawl' animation
5:53 - Using a signal to detect if a the player enters the 'top checker' Area2D
7:40 - Squashing and Stopping the enemy when landed on
10:49 - Removing enemy collisions after being squashed
16:37 - Adding a 'Sides Checker' Area2D to the enemy with a Signal & Function
21:50 - Reset the game level (switch scene) when the player collides with the side of an enemy
26:57 - Making the Enemy Disappear after a second after it is squashed (using a Timer node)
31:29 - Fixing the scene re-starting problem ('sides checker' is colliding with corners of platforms)
33:23 - Bouncing off the top of an enemy! (+ writing a 'custom' "bounce" function)
37:39 - Turning transparent red & be thrown when hit by (the side of) an enemy!
50:26 - Wait a second after being hit before resetting the game level (change the scene)
53:51 - 'Bottom Checker' challenge!
54:50 - Changing enemy color based on 'detects cliffs' ability!
58:19 - Wrap-up and code review
- Note: As of the last tutorial (Part 13) I am using Godot 3.2.2 (up from 3.2.1 in the previous parts of this mini-series).
#godotengine #gamedev
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
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]
****************