ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


new:input

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
new:input [2018/02/17 03:35] korshunnew:input [2018/02/17 14:07] korshun
Line 5: Line 5:
 ===== Basic concepts ===== ===== Basic concepts =====
  
-Every key is either **up** or **down** at any time. +  * Every key is either **up** or **down** at any time. 
- +  If the key was up the previous tic, but is now down, it is said to have been **pressed**. 
-If the key was **up** the previous tic, but is now **down**, it is said to have been **pressed**. +  If the key was down the previous tic, but is now up, it is said to have been **released**. 
- +  If the key has been pressed or released, it is said to have been **toggled**.
-If the key was **down** the previous tic, but is now **up**, it is said to have been **released**. +
- +
-If the key has been **pressed or released**, it is said to have been **toggled**.+
  
 ACSUtils provide a way to easily check these all these states for every key without writing compliated ''GetPlayerInput'' expressions. ACSUtils provide a way to easily check these all these states for every key without writing compliated ''GetPlayerInput'' expressions.
new/input.txt · Last modified: 2018/02/17 14:10 by korshun