Creating an enemy that can patrol randomly #godot4 #godotengine
11th episode of this serie and today we gonna create an enemy.
Asset link is here: https://jeanmakesgames.itch.io/2d-rpg-asset
Wishlist my game "Lone Knight" here: https://store.steampowered.com/app/2211930/Lone_Knight/
*Udemy Course:* (this is the best way to support my work)
For halloween I'm discounted my courses, valid until the 31st of October! :)
My godot engine 4 course is discounted here:
https://www.udemy.com/course/learn-godot-4-by-making-a-2d-game/?couponCode=HALLOWEENGODOT
Coupon Code: HALLOWEENGODOT
Create a 2d platformer / metroidvania in godot engine 3:
https://www.udemy.com/course/create-a-2d-platformer-game-with-godot-engine/?couponCode=HALLOWEENGODOT
coupon: HALLOWEENGODOT
Create a 2d rpg with godot engine 3:
https://www.udemy.com/course/create-a-2d-rpg-with-the-godot-engine/?couponCode=HALLOWEENGODOT
coupon: HALLOWEENGODOT
Learn C# in godot 3 by creating a 2d rpg:
https://www.udemy.com/course/learning-csharp-with-godot/?couponCode=HALLOWEENGODOT
coupon: HALLOWEENGODOT
Happy halloween to everyone!
Timeline:
00:00 introduction
00:47 creating our enemy
01:51 importing the spritesheet
02:15 Creating the animations of the enemy
04:41 Creating the enemy mover script
09:38 Creating the state machine of the enemy
12:13 Randomizing our direction