MovementController
Ultimate 2D Controller (Godot 4.6+)
🚀 "Press Play" Simplicity
Forget complex state machines. Attach this single script to any CharacterBody2D, assign your AnimatedSprite2D, and you have a fully functional action-platformer hero.
⚔️ Combat
Momentum-Based Slashing: Choose between a "Heavy" commitment feel or a "Sprint-Slash" playstyle using the Attack Weight slider.
Adjustable Attack Timings: Sync the code to your specific pixel art animations with the Attack Duration setting.
Dash-Canceling: High-level gameplay feel—cancel any attack into a dash to dodge or reposition instantly.
💨 Visual
Built-in Ghosting Effect: Code-generated afterimage/trail effect during dashes. No extra scenes or setup required.
Automated Animation Brain: Intelligently handles Idle, Walk, Run, Jump, Fall, Dash, and Attack states.
Smart Direction: Character flips automatically based on movement, keeping your pixel art facing the right way.
🛠️ Technical Specs
One-Script Solution: No messy folders or nested scenes.
Highly Customizable: Tweak gravity, walk/run speeds, jump force, and dash cooldowns directly in the Inspector.
BONUS: Includes the sprite used in the test game. for your own testing if needed.
Clean Code: Written in GDScript 2.0, optimized for Godot 4.3, 4.4, and 4.6.1+.
"Designed by Ruzty | Powered by AI-Assisted Logic"
I designed the movement mechanics, and directed the technical architecture of this controller. To ensure the code is as clean, optimized, and bug-free as possible, I utilized AI to assist in the programming and refactoring.
The result?
A "Press Play" solution that works perfectly out of the box, so you can spend less time debugging and more time building your game.
| Published | 16 hours ago |
| Status | Released |
| Category | Tool |
| Platforms | HTML5 |
| Author | Ruzty |
| Genre | Platformer |
| Made with | Godot |
| Tags | 2D, Side Scroller |
| AI Disclosure | AI Assisted, Code |
Purchase
In order to download this tool you must purchase it at or above the minimum price of $5 CAD. You will get access to the following files:

Leave a comment
Log in with itch.io to leave a comment.