GODOT 4 RPG Mini-Serie | 2 | Sword, animations, state machine
Second video of this mini serie focus on creating a 2D RPG in Godot 4! In this video we gonna focus on creating the sword animation and collision, state machine, calling our animations through code and set up collision layer and input for the sword attack!
Timeline:
00:00 Introduction
01:08 Calling the animation through code
10:59 Setting up the sword collisions shape matching the right direction
18:00 Input map
19:44 Create a state machine
26:50 Slash an object with our sword
32:53 Outro
This mini serie of tutorial is an extract of my freshly released new Udemy course about Godot 4 where we are learning how to create a 2d metroidvania and a 2D RPG, available right now here:
My Latest Godot 4 Course (discounted until the 23rd of June 2023, coupon GD4JUNE23):
https://www.udemy.com/course/learn-godot-4-by-making-a-2d-game/?couponCode=GD4JUNE23
My game "Lone Knight" available for wishlist on steam:
https://store.steampowered.com/app/2211930/Lone_Knight/