Godot 4.1 Tower Defense Tutorial - Part 04 (Enemy Waves and States)

Subscribers:
2,380
Published on ● Video Link: https://www.youtube.com/watch?v=hyyDrzqbcsw



Category:
Tutorial
Duration: 34:59
3,215 views
122


Hi everyone, I hope your week is going well ! So sorry for the delay getting this one out. It's been a tough week at work, which I won't bore you with!!

Anyhow, it's time to get those enemies rolling across the screen in a wave fashion. Let's talk about the State Pattern, and how we can use it to make our code clean and easy to use.

As always, I hope you will give this video a thumbs up if you're enjoying it... And maybe a subscribe if you're feeling it. And I always appreciate comments, and will do my best to respond to every one of them.

Enjoy!

Links:
Github source code: https://github.com/WideArchShark/godot-tower-defense/tree/tutorial_04
Godot State Charts Documentation: https://github.com/derkork/godot-statecharts/blob/main/manual/manual.md

Chapters:
0:00 Introduction (1)
0:50 Introduction (2)
1:36 State Patterns Overview
3:15 Godot State Charts Installation
4:30 Creating an Enemy with States
7:50 State Signals
10:40 Path3D
13:20 Creating Curve3D in Code
15:05 PathFollow3D
19:00 Creating a Spawn Animation
22:15 State Transitions
24:50 Making the Enemy Move
27:00 Moving to Despawning
30:25 Despawn Animation
32:00 Removing the Enemy from the Tree
32:40 Generating a Wave of Enemies!
34:21 Teaser for Next Episode!




Other Videos By Wide Arch Shark


2023-11-23Godot 4.2 Tower Defense Tutorial - Part 12 (Enemy Waves Part 2)
2023-11-15Godot 4.2 Tower Defense Tutorial - Part 11 (Particle Effects)
2023-11-12Godot 4.2 Tower Defense Tutorial - Part 10 (Sound Effects)
2023-11-07More Godot YouTubers you should go take a look at !
2023-11-06Godot 4.X Tower Defense Tutorial - Part 09 (Cannon Firing)
2023-10-28Godot 4.X Tower Defense Tutorial - Part 08 (Turret Rotation)
2023-10-25Godot 4.X Tower Defense Tutorial - Part 07 (Collision Layers and Masks)
2023-10-21Godot 4.X Tower Defense Tutorial - Part 06 (3D Drag and Drop)
2023-10-16Godot 4.1 Tower Defense Tutorial - Part 05 (Raycasting)
2023-10-13Godot YouTubers you should go take a look at!
2023-10-11Godot 4.1 Tower Defense Tutorial - Part 04 (Enemy Waves and States)
2023-10-03Godot 4.1 Tower Defense Tutorial - Part 03 (Resources and Singletons)
2023-09-30Godot 4.1 Tower Defense Tutorial - Part 02 (Adding Loops!)
2023-09-27Godot 4.1 Tower Defense Tutorial - Part 01 (Random Path Generation)
2023-09-23Align Camera With View in Godot - Yes it is possible!!
2023-09-23Godot 4.1 - New pricing strategy! Oh, and creating a complete game - Part 3 - Deploying to itch.io
2023-09-225 Godot editor tips that you might not know! #godot #tips
2023-09-21Godot 4.1 - Creating a complete (and fun!) game - Part 2
2023-09-20Godot 4.1 - Creating a complete (and fun!) game - Part 1
2023-09-17Godot 4.1 Version Control in Git in Less than 2 Minutes!
2023-09-16Godot 4.1 - Creating Menu's Part #2 - REAL POWER!



Tags:
godot
tower defense
state pattern
tutorial