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
StatusReleased
CategoryTool
PlatformsHTML5
AuthorRuzty
GenrePlatformer
Made withGodot
Tags2D, Side Scroller
AI DisclosureAI Assisted, Code

Purchase

Buy Now$5.00 CAD or more

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:

The Press Play RuztyActionController.zip 143 kB

Leave a comment

Log in with itch.io to leave a comment.