ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


cursor_library

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
cursor_library [2017/07/14 21:37]
korshun
cursor_library [2017/07/14 21:40] (current)
korshun
Line 4: Line 4:
 It fully supports wide screens and takes into account all mouse settings of the user to provide consistent cursor support regardless of aiming settings. It fully supports wide screens and takes into account all mouse settings of the user to provide consistent cursor support regardless of aiming settings.
  
-<note important>Do not use the cursor library serverside.</note>+<note important>Do not use the cursor library in serverside scriptsIt isn't supported for a number of reasons: 
 +  - serverside cursors are very laggy. 
 +  - cursor library can't read user's mouse settings to adjust cursor speed and direction. 
 +  - cursor library can't read user's aspect ratio to find correct screen boundaries. 
 +</note>
  
 ===== Basic usage ===== ===== Basic usage =====
Line 45: Line 49:
 ==== Changing cursor speed ==== ==== Changing cursor speed ====
  
-[[SetCursorSpeed]], [[SetCursorSpeedX]], [[SetCursorSpeedY]] can change the cursor's speed (sensitivity).+[[functions:SetCursorSpeed]], [[functions:SetCursorSpeedX]], [[functions:SetCursorSpeedY]] can change the cursor's speed (sensitivity).
  
 ==== Cursor wraparound ==== ==== Cursor wraparound ====
  
-[[EnableCursorWrap]], [[EnableCursorWrapX]], [[EnableCursorWrapY]] can enable or disable cursor wrapping. If cursor wrapping is enabled, then reaching the edge of the screen will move the cursor to the opposite edge. This movement will be invisible to [[CursorDeltaX]] and [[CursorDeltaY]].+[[functions:EnableCursorWrap]], [[functions:EnableCursorWrapX]], [[functions:EnableCursorWrapY]] can enable or disable cursor wrapping. If cursor wrapping is enabled, then reaching the edge of the screen will move the cursor to the opposite edge. This sudden teleportation will not affect [[functions:CursorDeltaX]] and [[functions:CursorDeltaY]] readings.
  
  
cursor_library.1500057427.txt.gz · Last modified: 2017/07/14 21:37 by korshun