In this lesson we’ll begin adding and implementing 3D ’gumdrop’ enemies into our game level! This lesson will have us export the rigged, animated enemy model from Blender into our Godot project as a GLTF file, create a ’proper’ enemy object scene with a collision shape, and program it to move back and forth between two walls. This lesson introduces three new GDScript programming tidbits!: the ’await’ keyword, plus creating both a Timer and a Tween – solely with code! By the end of this lesson we’ll duplicate the enemy and place them around our game level. In part 2, we’ll make the enemies hurt us, and make the enemies squashable when the player jumps on top of one!

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

– 0:00 – Video Intro
– 0:11 – Lesson Overview
– 0:39 – Tour: The Enemy in Blender
– 2:50 – Exporting the Enemy to GLTF
– 3:58 – Importing & Creating the Enemy Scene
– 7:00 – Adding an Enemy to the Game Level
– 9:12 – Adding a Collision Shape
– 11:54 – Enemy’s Collision Layers & Masks
– 14:05 – Programming Enemy Movement!
– 26:46 – Pausing to Turn Around
– 30:40 – New Code!: await
– 36:38 – New Code!: a Tween
– 41:59 – Playing the ’Blobbing’ Animation!
– 43:32 – Duplicating to Create More Enemies!
– 44:54 – Testing it all out!
– 46:12 – Wrap-Up & Outro

Don’t forget to LIKE & SUBSCRIBE! 🥰 👍

❤️ DONATE ❤️ to support my channel via PayPal: https://goo.gl/ThkwyG

*****************
DOWNLOAD the Enemy .blend file:
👉 https://borncg.itch.io/3d-platformer-gumdrop-enemy
*****************
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)
*****************
*note: in this lesson I use Godot 4.1
********************************
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>