Uploaded September 2022 | Updated September 2026, 2 weeks ago
Basic setup for a platformer game in Godot 4 using the new CharacterBody2D template as the basis for the platformer character. This is meant to be a quick introduction to the Godot 4 Beta.
Finished Demo ~ patreon.com/posts/72183449
Asset Pack for Tutorial ~ pixelfrog-assets.itch.io/pixel-adventure-1
Check out this too! ~ pixelfrog-assets.itch.io/pixel-adventure-2
➣ Downloadable Assets, Video Courses, and Other Places to Follow Me
patreon.com/christutorials
chris-tutorials.itch.io
https://linktr.ee/ChrisTutorials
◢ Chris Recommends ◥
Master Skills with Skillshare Video Courses ►► skillshare.com/r/user/christutorials?gr_tch_ref=on
Save Money Shopping Online with Honey Extension ►► joinhoney.com/ref/qd04c25
00:00 - What to Expect
00:28 - Project Setup
01:09 - Creating a Player Character
05:46 - Character Body Platformer Template
07:20 - Adding Ground Tiles with Tilemap
12:22 - Create a Follow Camera
13:23 - Scaling Up Game Size
14:05 - Setting Up Animations for Player
20:58 - Make a Tiled Background
Basic setup for a platformer game in Godot 4 using the new CharacterBody2D template as the basis for the platformer character. This is meant to be a quick introduction to the Godot 4 Beta.
Finished Demo ~ patreon.com/posts/72183449
Asset Pack for Tutorial ~ pixelfrog-assets.itch.io/pixel-adventure-1
Check out this too! ~ pixelfrog-assets.itch.io/pixel-adventure-2
➣ Downloadable Assets, Video Courses, and Other Places to Follow Me
patreon.com/christutorials
chris-tutorials.itch.io
https://linktr.ee/ChrisTutorials
◢ Chris Recommends ◥
Master Skills with Skillshare Video Courses ►► skillshare.com/r/user/christutorials?gr_tch_ref=on
Save Money Shopping Online with Honey Extension ►► joinhoney.com/ref/qd04c25
00:00 - What to Expect
00:28 - Project Setup
01:09 - Creating a Player Character
05:46 - Character Body Platformer Template
07:20 - Adding Ground Tiles with Tilemap
12:22 - Create a Follow Camera
13:23 - Scaling Up Game Size
14:05 - Setting Up Animations for Player
20:58 - Make a Tiled Background










![Control Player Character with LimboAI Hierarchical State Machine ~ Godot 4.4 Tutorial [P2]
Adding a Hierarchical State Machine (HSM) to break player logic into separate pieces as it goes between different states and make it more manageable in the long run.
Series Project Files
Ko-fi ➣ https://ko-fi.com/post/Project-Files-Control-Character-States-with-Limb-P5P118FNW8
Patreon ➣ https://www.patreon.com/posts/119247384
Grid Building Plugin ➣ https://linktr.ee/gridbuilder
World Time Plugin ➣ https://linktr.ee/worldtimeplugin
Item Drops Plugin ➣ https://linktr.ee/itemdrops
➣ Downloadable Assets, Video Courses, and Other Places to Follow Me
https://linktr.ee/ChrisTutorials
https://ko-fi.com/christutorials
https://patreon.com/christutorials
https://chris-tutorials.itch.io/
Art Assets
Treasure Hunters by Pixel Frog
https://pixelfrog-assets.itch.io/treasure-hunters
Timestamps
0:00 What to Expect
0:54 Install Limbo AI 4.3
2:06 Add Limbo HSM
3:11 Idle State
3:49 Initialize State Machine
5:30 State Label for Debug
9:04 Playing Animations on Entering States
12:33 Move State & Adding Transitions
14:50 Player Input as Seperate Script
21:51 Static Blackboard BBNames class
24:04 Move on Idle and Move States
31:20 Add Transitions and State Dictionary for LimboHSM
33:23 Removing Move and Direction Logic from Player CharacterBody2D
34:47 Testing State Transitions Control Player Character with LimboAI Hierarchical State Machine ~ Godot 4.4 Tutorial [P2]](https://i.ytimg.com/vi/EIMk1FHOKwk/mqdefault.jpg)