(AGK version: 108.16)
Submitted: 2013-08-08 14:58:02
Setvirtualresolution(640,480)
ResetTimer()
AddVirtualJoystick(1,120,350,100)
AddVirtualJoystick(2,500,350,100)
Do
    SetVirtualJoystickSize(1,170+GetVirtualJoystickX(2)*100)
    Print ("JoyStick X: "+Str(GetVirtualJoystickX(1),2))
    Print ("JoyStick Y: "+Str(GetVirtualJoystickY(1),2))
    Sync()
    If Timer()>25 Then Exit
Loop
End
Help make AGK better by submitting an example for this command!
(All examples are subject to approval)
Login to post an example of your own.