State Machine Setup for 2D Platformer Character ~ Godot 4 GameDev Tutorial @ChrisTutorialsYT
State Machine Setup for 2D Platformer Character ~ Godot 4 GameDev Tutorial  @ChrisTutorialsYT
Uploaded April 2023 | Updated September 2026, 2 weeks ago
Build 2D platformer mechanics in Godot 4 with CharacterBody2D, tilemaps, and physics-based movement.

━━━ ChrisTutorials Links ━━━
🌐 ChrisTutorials — Docs, Plugins, Courses & Assets: christutorials.com
💛 Support on Patreon: patreon.com/ChrisTutorials
☕ Ko-fi: ko-fi.com/chrisTutorials
🎮 YouTube Memberships include plugins, assets & courses

https://linktr.ee/ChrisTutorials
ko-fi.com/christutorials
chris-tutorials.itch.io

00:00:00 - What to Expect
00:01:29 - Starting Point
00:03:12 - Download in Description
00:03:25 - Add Nodes (Sprite, AnimationTree, AnimationPlayer)
00:04:26 - Idle Animation in Animation Player
00:09:10 - Run Animation
00:10:56 - Move BlendSpace1D
00:13:16 - Setting Animation Parameters
00:17:20 - Facing Direction
00:18:04 - Removing Animated Sprite References in Player script
00:19:48 - Setup State Machine
00:20:54 - Setting Up State Scripts
00:23:31 - Get States in State Machine
00:25:47 - State Can Move
00:29:58 - Jump from Ground State
00:35:12 - Change from Ground to Air State
00:37:15 - State OnEnter and OnExit
00:40:04 - State Debug Label
00:41:49 - Exit Air State to Ground State
00:44:12 - Double Jump from Air State
00:47:48 - Reducing Gravity for More Floaty Characters
00:48:19 - Jump Animations in Animation Player
00:51:46 - Animation Tree Setup
00:54:12 - Travel Tree through Playback
00:57:49 - Landing State
01:01:43 - Switch to Air when Not on Floor
01:02:37 - Player Script Cleanup
01:04:02 - Animation Position Offset due to Sprite Centering
01:05:37 - Wrapup
State Machine Setup for 2D Platformer Character ~ Godot 4 GameDev TutorialPixel Art Presets and Importing Art Pack ~ Making a Resource Gathering Game in Unity 2022 ~ PART 2Harvest Resources on Tool Swing Hit - Godot 4 Resource Gathering TutorialShared Player Stats with Scriptable Objects ~ Unity GameDev 2023Enemy Attack AI and Animation States - 2D Platformer Crash Course in Unity 2022 (Part 14)How to Setup Blend Trees for Easy 4 Directional Movement in Unity 2022How to Import Tiled Maps FAST with Collisions and Sorting - SuperTiled2Unity TutorialBest Way to Pause Your Game using the Notification Trick ~ Godot 4.3 TutorialLevel Scene ~ Follow Camera, Adding Scene Objects, and Y-Sorting - Godot 4 TutorialGrid Building for Godot 4 Plugin Overview - How to Place Objects into your Game Levels!How to Setup Physics Collisions for Tilemaps ~ Godot 4.1 Tutorial for BeginnersSaving and Loading Objects Placed During Gameplay ~ Godot 4 Tutorial (Grid Builder Plugin)
Chris Tutorials |

State Machine Setup for 2D Platformer Character ~ Godot 4 GameDev Tutorial

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER