2D Controls Toolkit

by Cianci

2

2D Controls Toolkit

2D Controls plugin For Godot 4.3:

Includes:

* Side-Scrolling Controller
* Top-Down Controller

Plug-and-Play* just add as a child of the Character2D node, and it will work.

  • Requires the following actions on input map: "up", "down", "left", "right", optionally: "sprint", "jump"
    those values can be changed on the node inspector.

Other configurations:

  • Movement (For all control types):

    • Walk Speed
    • Sprint Speed
    • Acceleration
    • Deacceleration
    • Movement Type = "Move and Slide" or "Move and Collide" or "None" (Movement must be handled on player code)
  • Jump (For Side Scrolling):

    • Jump Height
    • Jump time to peak = Time to reach the top of the jump
    • Jump time to descend = Time fall
    • Variable Jump = If the jump can be interrupted by releasing the jump action key
    • Air control on jump = If player can be controlled in middle-air
    • Coyote Time = time that player can jump after leaving a platform
    • Jump Buffer Time = time that player can activate jump before hit the ground
  • Side-Scrolling

    • Handle Camera
    • Camera Smooth Distance
    • Camera Smooth Speed
    • Camera Look at Player
    • Camera Lock Y Rotation
    • Camera Max Boundary
    • Camera Min Boundary
    • Camera Zoom
    • Horizontal Offset
    • Vertical Offset
    • Custom Camera (Optional)
  • Top-Down

    • Action Type = Use actions to move or move to mouse click
    • Floor Group = Required to find floor StaticBody3D to handle mouse click on click mode.
    • Turn Speed
    • Handle Camera
    • Camera Smooth Distance
    • Camera Smooth Speed
    • Camera Zoom
    • Horizontal Offset
    • Vertical Offset
    • Custom Camera (Optional)

Check out CiaNCI Chanel on YouTube for more: https://www.youtube.com/@CiaNCIStudio

Version

1.0

Engine

4.3

Category

2D Tools

Download

Version1.0
Download Now

Support

If you need help or have questions about this plugin, please contact the author.

Contact Author