ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


new:hud_library

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
new:hud_library [2018/02/20 17:20]
korshun
new:hud_library [2018/02/20 18:16] (current)
korshun
Line 11: Line 11:
   - Call [[zdoom>​SetHudSize]] to scale the message, taking ''​VirtualSize''​ and ''​Scale''​ into account   - Call [[zdoom>​SetHudSize]] to scale the message, taking ''​VirtualSize''​ and ''​Scale''​ into account
   - Finally call [[zdoom>​HudMessage]] or [[zdoom>​HudMessageBold]]   - Finally call [[zdoom>​HudMessage]] or [[zdoom>​HudMessageBold]]
 +
 +===== Settings =====
 +
 +General settings:
 +  * [[HUD coordinate system]] size -- ''​HudSetVirtualSize(fixed width, fixed height)''​
 +  * Position -- ''​HudSetPoint(fixed x, fixed y)''​
 +  * Scale -- ''​HudSetScale(fixed scale)''​
 +  * 
 +Text-only settings:
 +  * Font -- ''​HudSetFont(str fontname)''​
 +  * Text color -- ''​HudSetTextColor(int color)''​ or ''​HudSetTextColorString(str colorname)''​
 +  * Type-on mode -- ''​HudSetTextTypeOn(bool enabled)''​
 +
 +
new/hud_library.txt ยท Last modified: 2018/02/20 18:16 by korshun