
E
Publisher
evrenselkisilik
Virtual Joystick 2D
 2D
 Joystick Mobile Input UI 2D Collision Controls Touch
Virtual joystick plugin for mobile games.
This plugin has been mirrored from the Godot Asset Library.
The plugin author is in no way affiliated with Gadget.
If you are the author of this plugin and would like this mirror removed, please contact support@gadgetgodot.com.
virtual-joystick
Virtual joystick plugin for Godot Engine.

Installation
GIT
You can install the plugin with GIT.
cd /path/to/project
mkdir -p addons
cd addons
git clone https://github.com/rohanrhu/virtual-joystick
Usage
Add a Virtualjoystick node.
Add a CollisionShape2D and set a CircleShape2D to that.
Set container and button textures

Events
controlling
Fires during user control.
trimming
Fires while button is trimming to container's border.
released
Fires when user released the joystick.
Properties
container_texture: Texture
button_texture: Texture
is_mouseover: bool
is_dragging: bool
is_trimming: bool
angle: float
velocity: Vector2
Notices
- While you are testing it on mouse, you may want to enable Project Settings > General > Input Devices > Pointing > Emulate Touch From Mousesetting.
License
MIT