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.
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
End User Licence Agreement (EULA).