Part 28 - This tutorial will teach you how to setup a Player State Machine and many different player states and transitions.
When a player has many complex states, a state machine can make the implementation better because it will allow defined boundaries between the states.
This tutorial will help you get started with creating a 2D platform game using the Godot game engine.
Download the following Game Assets
Created by @ansimuz
💡 [ Ссылка ]
Subscribe to my channel for more tutorial updates
🔔 [ Ссылка ]
Would you like to buy me a coffee?
☕ [ Ссылка ]
🎬 Video Chapters
0:00 - Introduction
2:00 - Hit Animation improvement with a Tween Animation
4:15 - Add new player animations
7:00 - New player inputs and GameInputEvents object
11:58 - Create the State Machine
13:39 - Idle State
16:30 - Fall State
19:19 - Run State
26:12 - Jump State (multiple jumps)
34:00 - Shoot Stand State
45:00 - Shoot Up State
49:00 - Shoot Crouch State
53:00 - Shoot Run State
58:00 - Shoot Wall Cling
1:06:26 - Coyote Jump
#godot #godot4 #godotengine #indiegame #indiedev #indiegamedev #tutorialyoutube #gamedev #gamedevelopment #gamedevelopmenttutorial #godottutorial #gdscript #metroidvania #metroidvaniagames
![](https://s2.save4k.ru/pic/IpM37TUSCNc/maxresdefault.jpg)