BornCG | Godot 4 3D Platformer Lesson #16: Animated Coin Bounce! @BornCG | Uploaded October 2024 | Updated October 2024, 17 hours ago.
In this lesson I'll show you how to create a keyframed animation on a game object - the collectable coin - to make it play a (bounce) animation when collected! We'll also solve the issue of double-collection, to prevent a player from re-entering the coin during its bounce animation to collect it twice -- we'll do this by editing the coin's collision layers and masks using code!
Thanks for watching! Here are the video chapter timecode links:
- 0:00 - Video Intro
- 0:49 - Lesson Overview
- 1:34 - Adding an AnimationPlayer Node
- 3:06 - Animating a Coin Bounce
- 7:57 - Play the 'bounce' animation when collected!
- 9:56 - Deleting the Coin @ the Animation's End
- 11:49 - Fixing Double-Collection: Coding Collision Layers & Masks!
- 17:41 - Fixing an error from the last Lesson: falling block collisions
- 19:07 - 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!: borncg.itch.io/3d-platformer-game (use: Chrome/Edge/Firefox to play the web game version)
*****************
DONATE to support my channel via PayPal: goo.gl/ThkwyG
********************************
LIKE and FOLLOW me on:
FACEBOOK: facebook.com/BornCG
INSTAGRAM: instagram.com/born.cg
X / TWITTER: twitter.com/BornCG
Reddit: reddit.com/u/BornCG
**********************************
Visit this Godot 4 Beginners: 3D Platformer Course playlist!:
youtube.com/playlist?list=PLda3VoSoc_TTp8Ng3C57spnNkOw3Hm_35
Visit my Let's Learn Blender! Tutorial Series playlist:
youtube.com/playlist?list=PLda3VoSoc_TQrLrt-voecHs0Mb5qzk2S3
****************
Nicolas from the band 'The Lazy Saviours' created my Intro Jingle!
****************
In this lesson I'll show you how to create a keyframed animation on a game object - the collectable coin - to make it play a (bounce) animation when collected! We'll also solve the issue of double-collection, to prevent a player from re-entering the coin during its bounce animation to collect it twice -- we'll do this by editing the coin's collision layers and masks using code!
Thanks for watching! Here are the video chapter timecode links:
- 0:00 - Video Intro
- 0:49 - Lesson Overview
- 1:34 - Adding an AnimationPlayer Node
- 3:06 - Animating a Coin Bounce
- 7:57 - Play the 'bounce' animation when collected!
- 9:56 - Deleting the Coin @ the Animation's End
- 11:49 - Fixing Double-Collection: Coding Collision Layers & Masks!
- 17:41 - Fixing an error from the last Lesson: falling block collisions
- 19:07 - 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!: borncg.itch.io/3d-platformer-game (use: Chrome/Edge/Firefox to play the web game version)
*****************
DONATE to support my channel via PayPal: goo.gl/ThkwyG
********************************
LIKE and FOLLOW me on:
FACEBOOK: facebook.com/BornCG
INSTAGRAM: instagram.com/born.cg
X / TWITTER: twitter.com/BornCG
Reddit: reddit.com/u/BornCG
**********************************
Visit this Godot 4 Beginners: 3D Platformer Course playlist!:
youtube.com/playlist?list=PLda3VoSoc_TTp8Ng3C57spnNkOw3Hm_35
Visit my Let's Learn Blender! Tutorial Series playlist:
youtube.com/playlist?list=PLda3VoSoc_TQrLrt-voecHs0Mb5qzk2S3
****************
Nicolas from the band 'The Lazy Saviours' created my Intro Jingle!
****************