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
patreon.com/christutorials
chris-tutorials.itch.io
00:00:00 - What to Expect
00:00:29 - Download Below
00:00:40 - Starting Point
00:00:56 - Attack Animation
00:03:15 - Attack 2 Animation
00:04:26 - Animation Tree Attack 1 and Attack 2 Nodes
00:06:09 - Create Attack State
00:07:25 - Switch to Attack from Ground
00:10:23 - Attack State Logic
00:15:13 - How to Get AnimationTree Playback
00:15:53 - Switching from Attack 1 Animation
00:16:41 - Move to lower case move
00:17:20 - Travel to Ground / Attack2 Animations
00:18:34 - Centering Player Sprite2D
00:20:04 - Sword Hitbox
00:22:42 - Make Test Enemy
00:24:05 - Snail Enemy Setup
00:26:20 - Making Objects Damageable
00:27:42 - Sword Hit on Damageable Object
00:29:31 - Debug Print Damage on Hit
00:30:00 - Disabling and Enabling Sword Hitbox
00:32:12 - Show Damage Text on Hit
00:36:28 - Health Text Manager
00:38:40 - Floating Text Label
00:41:53 - Floating Text Label Scripting
00:43:59 - Set Text Color
00:45:15 - Snail Dead Animation
00:46:20 - Snail Animation Tree
00:47:08 - Snail State Machine
00:47:57 - Hit State
00:50:56 - State Interrupt
00:53:50 - Snail Character Movement Script
00:55:25 - Remove Character after Dead Animation
00:56:33 - Snail Movement
00:58:15 - Removing Player Enemy Collisions
01:00:15 - Snail Movement Logic
01:01:10 - Hit Knockback on Sword Hit
01:03:42 - Exit Hit State on Timer
01:05:17 - Directional Knockback (Left / Right)
01:09:08 - Flipping Sword Hitbox Position Left / Right
01:13:46 - Show Visible Collision Shapes for Testing
01:14:28 - Mass Snail Duplication
01:15:01 - Fix: Character Not on Ground at Start
01:16:24 - Wrapup
01:17:08 - Finished Project Download Below
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
patreon.com/christutorials
chris-tutorials.itch.io
00:00:00 - What to Expect
00:00:29 - Download Below
00:00:40 - Starting Point
00:00:56 - Attack Animation
00:03:15 - Attack 2 Animation
00:04:26 - Animation Tree Attack 1 and Attack 2 Nodes
00:06:09 - Create Attack State
00:07:25 - Switch to Attack from Ground
00:10:23 - Attack State Logic
00:15:13 - How to Get AnimationTree Playback
00:15:53 - Switching from Attack 1 Animation
00:16:41 - Move to lower case move
00:17:20 - Travel to Ground / Attack2 Animations
00:18:34 - Centering Player Sprite2D
00:20:04 - Sword Hitbox
00:22:42 - Make Test Enemy
00:24:05 - Snail Enemy Setup
00:26:20 - Making Objects Damageable
00:27:42 - Sword Hit on Damageable Object
00:29:31 - Debug Print Damage on Hit
00:30:00 - Disabling and Enabling Sword Hitbox
00:32:12 - Show Damage Text on Hit
00:36:28 - Health Text Manager
00:38:40 - Floating Text Label
00:41:53 - Floating Text Label Scripting
00:43:59 - Set Text Color
00:45:15 - Snail Dead Animation
00:46:20 - Snail Animation Tree
00:47:08 - Snail State Machine
00:47:57 - Hit State
00:50:56 - State Interrupt
00:53:50 - Snail Character Movement Script
00:55:25 - Remove Character after Dead Animation
00:56:33 - Snail Movement
00:58:15 - Removing Player Enemy Collisions
01:00:15 - Snail Movement Logic
01:01:10 - Hit Knockback on Sword Hit
01:03:42 - Exit Hit State on Timer
01:05:17 - Directional Knockback (Left / Right)
01:09:08 - Flipping Sword Hitbox Position Left / Right
01:13:46 - Show Visible Collision Shapes for Testing
01:14:28 - Mass Snail Duplication
01:15:01 - Fix: Character Not on Ground at Start
01:16:24 - Wrapup
01:17:08 - Finished Project Download Below


![Hit & Wander AI Actions ~ 1 Bit Platformer [Part 9] ~ Godot 4.3
Create behavior tree actions for an enemy using Beehave plugin in Godot 4.3.
Project Downloads ~ Snapshot at Each Videos End
Ko-fi ➣ https://ko-fi.com/post/Project-1-Bit-Projectile-Platformer-Tutorial-Ser-U7U510EBNX
Patreon ➣ https://www.patreon.com/posts/107952055
Itch.io ➣ https://chris-tutorials.itch.io/1-bit-platformer-tutorial-project
Assets & Credits ➣ https://pastebin.com/qa4NiTyu
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/
➣ Support Channel with Crypto Donations
https://pastebin.com/WAnBPcXs
00:00 - What to Expect
00:30 - Is Hit Condition
02:13 - Play Hit Action
10:20 - Wander Action
14:46 - Movement Stats in Character Stats
18:14 - Exiting Wander Action with Success or Failure
27:10 - Wrapup Hit & Wander AI Actions ~ 1 Bit Platformer [Part 9] ~ Godot 4.3](https://i.ytimg.com/vi/OFlRuRdubgc/mqdefault.jpg)



![Knockback Curve & Movement Invincibility Frames ~ 1 Bit Platformer [Part 18] ~ Godot 4.3
Making Knockback a Speed Curve to Accelerate or Decelerate the Movement and then working on adding extra invulnerability frames by setting invincibility off on a delay timer with the Beehave Behavior Tree for the player.
Project Downloads ~ Snapshot at Each Videos End
Ko-fi ➣ https://ko-fi.com/post/Project-1-Bit-Projectile-Platformer-Tutorial-Ser-U7U510EBNX
Patreon ➣ https://www.patreon.com/posts/107952055
Itch.io ➣ https://chris-tutorials.itch.io/1-bit-platformer-tutorial-project
Assets & Credits ➣ https://pastebin.com/qa4NiTyu
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/
➣ Support Channel with Crypto Donations
https://pastebin.com/WAnBPcXs
00:00 - What to Expect
00:27 - Defining a Knockback Force Curve
03:23 - Using Curve in Knockback
10:28 - Knockback Value Tweaks
12:18 - Fix: Player Knockback Movement
14:50 - Adding Invincibility Frames During Movement State
19:04 - Wrapup Knockback Curve & Movement Invincibility Frames ~ 1 Bit Platformer [Part 18] ~ Godot 4.3](https://i.ytimg.com/vi/PZTRfzASLi4/mqdefault.jpg)



