HI,
I'm trying to get this to work with the pointer in the middle, however when I maximize the screen the pointer is only works on the right side of the screen.
Anyone know how to fix it?
SetWindowSize(1280,720,0)
SetDisplayAspect( 16.0/9.0 )
SetVirtualResolution(1280,720)
SetWindowAllowResize( 1 )
CreateObjectPlane(1,10,2)
SetObjectColor(1,255,255,255,255)
SetPrintSize(44)
do
Rotate()
Sync()
loop
function Rotate ( )
SetObjectPosition(1,0, 0 ,0)
if GetPointerX() > GetDeviceWidth()/2 then SetObjectRotation(1,0,50,0)
if GetPointerX() < GetDeviceWidth()/2 then SetObjectRotation(1,0,-50,0)
print("try also with 'maximize the window'")
print("Does not work with pointer in the middle")
EndFunction