Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser
Quick Information
Virtual Joystick
Virtual joystick plugin for mobile games.
Supported Engine Version
3.4
Version String
1.4
License Version
MIT
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL
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 Mouse
setting.
License
MIT
Virtual joystick plugin for mobile games.
Reviews
Quick Information
Virtual Joystick
Virtual joystick plugin for mobile games.
Supported Engine Version
3.4
Version String
1.4
License Version
MIT
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL