Uploaded November 2022 | Updated September 2026, 2 weeks ago
How to setup an attack animation that locks movement on the player with a StateMachineBehaviour and returns to the ground movement states when the attack is complete.
Reference Project Patreon Download ➣ patreon.com/posts/2d-platformer-73894085
2D Crash Course Platformer Tutorial Playlist ➣ youtube.com/playlist?list=PLyH-qXFkNSxmDU8ddeslEAtnXIDRLPd_V
Play the Project in Web Browser ➣ chris-tutorials.itch.io/platformer-crash-course-reference-project
➣ 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:39 - Making Attack Animation State
03:29 - Create Attack Input Action
05:43 - Exit from Attack State
06:44 - Lock Movement State Machine Behaviour
12:13 - Responding to Move Lock in Player Controller
13:51 - Wrapup
How to setup an attack animation that locks movement on the player with a StateMachineBehaviour and returns to the ground movement states when the attack is complete.
Reference Project Patreon Download ➣ patreon.com/posts/2d-platformer-73894085
2D Crash Course Platformer Tutorial Playlist ➣ youtube.com/playlist?list=PLyH-qXFkNSxmDU8ddeslEAtnXIDRLPd_V
Play the Project in Web Browser ➣ chris-tutorials.itch.io/platformer-crash-course-reference-project
➣ 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:39 - Making Attack Animation State
03:29 - Create Attack Input Action
05:43 - Exit from Attack State
06:44 - Lock Movement State Machine Behaviour
12:13 - Responding to Move Lock in Player Controller
13:51 - Wrapup



![Tracking Game Stats UI Panel ~ 1 Bit Platformer [Part 19] ~ Godot 4.3
Connect events in the game to tracked game statistics and show it with a UI Game Stats panel.
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:28 - PlatformerCharacter On Is Alive Changed
04:14 - Reporting to Combat State
06:00 - Game Object Type Resource
10:05 - Global Game Object Types
11:58 - Assigning Game Object Types
13:51 - Check for Types in Combat State
15:58 - Debugging
16:36 - Marker 9
19:15 - Combat State Signals
20:39 - Game Stats UI
28:41 - Moving Hit Damage Text Back to Main World Positions
30:06 - Wrapup Tracking Game Stats UI Panel ~ 1 Bit Platformer [Part 19] ~ Godot 4.3](https://i.ytimg.com/vi/AuWOfbQnq3c/mqdefault.jpg)
![Fire Projectiles ~ Aim at Mouse Cursor - 1 Bit Platformer [Part 4] - Godot 4.3 Series
How to rotate a shooter sprite and fire projectiles towards the mouse cursor 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:12 - Resize Play Window
00:27 - Shooter Sprite
01:23 - Positioning Shooter
02:23 - Hand Anchor Node
03:47 - Hand Anchor Script
07:35 - Projectile Shoot Direction
11:26 - Block Firing When Shooter inside Walls
14:30 - Wrapup Fire Projectiles ~ Aim at Mouse Cursor - 1 Bit Platformer [Part 4] - Godot 4.3 Series](https://i.ytimg.com/vi/Av-2HiXVF-c/mqdefault.jpg)



![Player Hit Invincibility & Timed Damage Text ~ 1 Bit Platformer [Part 16] { Godot Tutorial }
Making player invincible during hit state / animation frames & making damage text move for a short time before removing self after a timer.
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
m5x7 Font ➣ https://managore.itch.io/m5x7
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 - Require Ready for Emit Health Changed
02:22 - m5x7 Font (Itch.io)
03:26 - Make a UI Theme
04:27 - Moving Text & Remove After Timer
07:24 - Testing
08:04 - Invader & Player Visual Fixes
08:59 - Make Player Invincible After Hit
12:13 - Testing & Wrapup Player Hit Invincibility & Timed Damage Text ~ 1 Bit Platformer [Part 16] { Godot Tutorial }](https://i.ytimg.com/vi/BdGQ3QpjnAo/mqdefault.jpg)

