Part 14 - This tutorial will teach you how to create an state machine with a couple of states and transitions. You will learn how composition of nodes can improve how a character or object is created when you need to transitions between different states. This tutorial will help you get started with creating a 2D platform game using the Godot game engine.
Download the following Game Assets (the link has been changed since recording the original video)
Created by @ansimuz
💡 https://ansimuz.itch.io/gothicvania-p...
Download the ZIP file and the assets are under the warped-caves folder in location
Legacy Collection\Assets\Packs\warped-Caves
Download the following Game Assets (OLD ASSET LINK)
Created by @ansimuz
💡 https://itch.io/queue/c/463790/warped...
Enemy characters
💡 https://ansimuz.itch.io/sunnyland-chi...
Subscribe to my channel for more tutorial updates
🔔 / @rapidvectors
My code scripts are at my GitHub account
🔔 https://github.com/rapidvectors/tutor...
Would you like to buy me a coffee?
☕ https://www.buymeacoffee.com/rapidvec...
🎬 Video Chapters
0:00 - Introduction
0:50 - Create a new enemy with animations
1:14 - State machine design
6:30 - Create a gravity node
8:17 - Create a state machine
10:20 - Create the idle state
11:40 - Create the attack state
15:55 - Attack area detection
20:25 - Debugging and using visible collection shapes
21:07 - Complete the attack script
#godot #godot4 #godotengine #indiegame #indiedev #indiegamedev #tutorialyoutube #gamedev #gamedevelopment #gamedevelopmenttutorial #godottutorial #gdscript