ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


units

Differences

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

Link to this comparison view

Next revision
Previous revision
units [2017/07/09 16:49]
korshun created
units [2017/07/09 17:13] (current)
korshun
Line 1: Line 1:
-====== Units ======+====== Standard ZDoom units ======
  
-  * **distance** -- mapunits+  * **distance** -- mapunits (also called mappixels) 
 +  * **time** -- tics (or seconds in non-gameplay contexts) 
 +  * **angle** -- turns counterclockwise 
 + 
 +===== Derived units =====
   * **velocity** -- mapunits per tic   * **velocity** -- mapunits per tic
   * **acceleration** -- mapunits per tic^2   * **acceleration** -- mapunits per tic^2
-  * **gravity** -- mapunits per tic^2 +  * **gravity** -- as acceleration 
-  * **time** -- tics + 
-  * **angle** -- turns counterclockwise+Gravity is defined by free fall acceleration, and is measured using the same units as normal acceleration. 
 + 
 +===== Non-standard units ===== 
 +These units should be converted to standard units before performing any operations with them. 
 + 
 +==== Space ==== 
 +  * meters, feet, and other nonsense -- Doom doesn't have an accurate scale 
 +  sv_gravity units (800:1) -- converted to acceleration by dividing by 800 
 +  JumpZ units -- see [[functions:jumpz2height]] 
 + 
 +==== Time ==== 
 +  * seconds (35:1) 
 +  octics (4.375:1) 
 + 
 +==== Angles ==== 
 +  degrees (360:1) 
 +  radians (tau:1) 
 +  byte angles (256:1) 
 + 
 + 
 +  
units.1499608156.txt.gz · Last modified: 2017/07/09 16:49 by korshun