ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:updatecursor

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
functions:updatecursor [2017/06/13 17:13] korshunfunctions:updatecursor [2017/06/13 17:15] (current) korshun
Line 11: Line 11:
   * ''invertmouse''   * ''invertmouse''
  
-This function needs to be called before everything else in a loop.+This function needs to be called in a loop. To minimize input lag, the following sequence needs to be followed: 
 + 
 +  - ''UpdateCursor()'' 
 +  - handle player input 
 +  - redraw cursor 
 +  - ''Delay(1)''
  
 ===== Examples ===== ===== Examples =====
functions/updatecursor.1497363223.txt.gz · Last modified: 2017/06/13 17:13 by korshun