(AGK version: 108.16)
Submitted: 2013-08-08 11:21:01
Setvirtualresolution(640,480)
ResetTimer()
//Create an image
swap()
SetPrintSize(18)
Print("AGK")
render()
GetImage(1,0,0,32,32)
AddVirtualJoystick(1,500,350,100)
SetVirtualJoystickImageInner(1,1)
Do
    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.