Virtual Joystick for Godot 3

An asset by MarcoFazio
The page banner background of a mountain and forest
Virtual Joystick for Godot 3 thumbnail image
Virtual Joystick for Godot 3 thumbnail image
Virtual Joystick for Godot 3 hero image

Quick Information

0 ratings
Virtual Joystick for Godot 3 icon image
MarcoFazio
Virtual Joystick for Godot 3

A simple virtual joystick for touchscreens with useful options. For Godot 3

Supported Engine Version
3.4
Version String
2.0
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

Godot Virtual Joystick

A simple virtual joystick for touchscreens, with useful options.

GitHub Page: https://github.com/MarcoFazioRandom/Virtual-Joystick-Godot

Godot Engine: https://godotengine.org

PREVIEWS:

Easy to setup:

Easy to use:

OPTIONS:

  • Joystick mode:

    • Fixed: The joystick doesn't move.
    • Dynamic: Every time the joystick area is pressed, the joystick position is set on the touched position.
  • Dead zone size: If the tip is inside this range the output is zero.

  • Clamp zone size: The max distance the tip can reach.

  • Visibility mode:

    • Always: Always visible.
    • touchscreen only: Visible on touch screens only (will hide if the device has not a touchscreen).
  • Use input actions: if true the joystick will trigger the input actions created in Project -> Project Settings -> Input Map

HELP:

  • The Control parent of the joystick is the area in which the joystick can move in Dynamic mode.
  • For moving the joystick inside his area, select it, right click, turn on "Editable Children" and then change the position of the Base node.
  • With "Editable Children" turned on you can also edit the joystick textures and colors.
  • To be able to use the joystick with the mouse, you have to go to Project settings -> Input Devices -> Pointing, and turn on the option "emulate touch from mouse".
  • If you want multitouch, make sure to disable the option "emulate mouse from touch".
  • Create a CanvasLayer node and name it "UI", it'll contain all the UI elements, then add the Joystick scene as a child of the UI node and move it where you prefer.
  • An example scene is provided in the "Test" folder.

A simple virtual joystick for touchscreens with useful options. For Godot 3

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Virtual Joystick for Godot 3 icon image
MarcoFazio
Virtual Joystick for Godot 3

A simple virtual joystick for touchscreens with useful options. For Godot 3

Supported Engine Version
3.4
Version String
2.0
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers