Cool, I thought I was stuck with only 5 rotations (desktop width of 1920 / 360 = 5.3) for my spinning ship, but with MasterGy's multiplier I can get many more rotations before hitting the end points. The mouse is more sensitive, but not by much. Thanks, MasterGy! Why didn't I think of that? EDIT: And then by reducing the mouse sensitivity with the OS this works much better for me...
Code: (Select All)
DO WHILE _MOUSEINPUT ' mouse controls
IF _MOUSEMOVEMENTX THEN
cX = cX - _MOUSEMOVEMENTX '
ship.vector = ship.vector + cX * 1.6 ' << MasterGy concept, mouse movement multiplier
IF ship.vector >= -1 THEN ship.vector = -1080 ' if vector goes positive avoid lockup
END IF
zX = zX + _MOUSEMOVEMENTX ' for the mouse range gauge
LOOP
gaugeVal = INT((zX / DTW) * _WIDTH) + 10 ' relative/corrected x value for mousemovement range