2D Metroidvania - 6 - Slashing object with the sword and use it while jumping
Sixth episode of my new 2D Metroidvania serie for Godot 4.2! We are creating a crate that we can slash with our sword and we also take care of controlling our sword attack while in the air today. Like and subscribe!
Timeline
00:00 Introduction
00:48 Creating the crate node
02:12 Importing the spritesheet of my crate
02:53 Creating the animation of my crate
04:04 Creating the destroyed animation of my crate
04:40 Disabling the collision shape when it is destroyed
06:09 Saving the crate scene
06:50 Destroying the crate with the sword using signal
09:01 Setting up the collision layer and mask to the sword
11:13 Using our sword while jumping
12:29 Outro
Wishlist "Lone Knight" on Steam: https://store.steampowered.com/app/2211930/Lone_Knight/
Asset: https://jeanmakesgames.itch.io/2d-metroid-youtube-serie
Download Godot 4.2: https://godotengine.org/download/windows/
New course "Create a 2D RPG game and introduction to 3D game": https://www.udemy.com/course/create-a-2d-rpg-and-a-3d-game-in-godot-42/?couponCode=GODOT42FEBRUARY
Coupon code: GODOT42FEBRUARY