Sets the position of the virtual joystick in screen coordinates.
|
Parameters |
Description |
|
const X: Single |
The X coordinate of the new position. |
|
const Y: Single |
The Y coordinate of the new position. |
You can use TAgkApplication.VirtualWidth and TAgkApplication.VirtualHeight to find the current bounds of the screen. The joystick will be centered on the given X and Y position. Moving a virtual joystick whilst it is in use will alter the current X and Y values being returned.
|
Copyright (c) 2012. All rights reserved.
|