Virtual Joysticks without pain !!!
Do you need to put one o two Joystick on the screen to move and/or rotate your player?
With this easy to use script, you will get this functionality in only a few lines of code, saving time and effort, so you can concentrate on your game.
Features
Changelog
Update 1.0.1
Update 1.0.2
Update 2.0.0
Drag the Joystick controller to your room
You only needs to instantiate the Joysticks in your player controller:
// Get the Left and Right Joystick instances
dC = vjGetDeviceController_Instance();
lJ = dC.getLeftJoystick(); // Left Joystick instance
rJ = dC.getRightJoystick() // Right Joystick instance
```
And then get the direction and rotation
//...
direction = lJ.getDirection();
// ...
image_angle = rJ.getRotation();
View the documentation
https://gitlab.com/dijk_games/gms/virtual-joystick-documentation
End User Licence Agreement (EULA).