ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


constants:hudtic

This is an old revision of the document!


Table of Contents

HUDTIC

fixed HUDTIC = 0.03;

Description

This stay duration of HudMessages makes them stay on screen for exactly one tic.

Can be used with both HudMessage and the HUD Library.

Examples

while (true)
{
    HudMessage(..., HUDTIC);
    Delay(1);
}

The HudMessage will disappear automatically once the loop stops.

HUD Library version:

</code> while (true) {

  HudSetStayTime(HUDTIC);
  HudDrawText(1, ...);
  Delay(1);

} </code>

constants/hudtic.1499599356.txt.gz · Last modified: 2017/07/09 14:22 by korshun