A virtual joystick for touch capable interfaces
Online Example: https://games.gdevelop-app.com/game-9b34266e-da0a-4ca6-90dc-a57d1a53ca5f/index.html
Screne Variables for joystick - JOY is name of your joystick
- JOY_ANGLE - Angle of analog
- JOY_PRESS - Numbler of directions (1 or 2 for diagonals)
- JOY_DIR - Direction of joystick string
- JOY_DIS - Distance of joystick from center
- JOY_T - Return if is on TOP - Boolean
- JOY_D - Return if is on DOWN - Boolean
- JOY_R - Return if is on RIGHT - Boolean
- JOY_L - Return if is on LEFT - Boolean