Create spikes to damage the player || 2D Metroidvania in Godot 4.2

Subscribers:
6,420
Published on ● Video Link: https://www.youtube.com/watch?v=r-dBm2Drk9A



Category:
Tutorial
Duration: 14:07
2,605 views
76


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

Timeline:
00:00 Introduction
00:14 Start
00:44 Create the spike scene
01:49 Create the spikes animations
03:55 Activating and deactivating the collision shape
05:08 Create the script for the sprite
05:37 Connecting the signal of my hitbox to the script
06:11 Saving my spike scene
06:23 Setting up the collision layer
07:21 Adding my spike to the level 1
09:02 Create a state machine for the spike
10:35 Placing the animated spike in the level
10:47 Toggle the state machine of the spike in the inspector
11:23 Create the function that toggle the state
12:53 Flipping vertically the spike
13:56 Outro







Tags:
2d metroidvania
2d metroidvania godot
2d metroidvania godot 4
tutorial godot 4.2
tutorial godot 4
2d tutorial godot 4
2d platformer godot 4
2d platformer
game dev godot
game dev godot 4
hollow knight
hollow knight godot
hollow knight godot 4
animation godot 4
tutorial animation godot 4
create player godot 4
godot metroidvania tutorial
godot action platformer
godot 4 metroidvania tutorial
godot 4 action platformer
2d game development