This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
functions:hudlib [2016/08/09 19:44] – [HudSetCameraAngles] korshun | functions:hudlib [2016/08/10 15:28] – korshun | ||
---|---|---|---|
Line 8: | Line 8: | ||
Only drawing functions change ZDoom' | Only drawing functions change ZDoom' | ||
+ | |||
+ | ===== Examples ===== | ||
+ | |||
+ | ==== Simple 2D drawing ==== | ||
+ | |||
+ | < | ||
+ | HudSetPoint(320.0, | ||
+ | HudDrawText(1, | ||
+ | </ | ||
+ | |||
+ | ==== Simple 3D drawing ==== | ||
+ | |||
+ | < | ||
+ | HudSetCameraActor(0); | ||
+ | HudSetPoint3D(0.0, | ||
+ | HudDrawText(2, | ||
+ | </ | ||
===== Virtual screen size ===== | ===== Virtual screen size ===== | ||
Line 18: | Line 35: | ||
'' | '' | ||
- | Sets the virtual screen size to the given dimensions. The default size is 640x480. This works exactly like '' | + | Sets the virtual screen size to the given dimensions. The default size is 640x480. This works exactly like '' |
==== HudUseRealSize ==== | ==== HudUseRealSize ==== | ||
Line 210: | Line 227: | ||
'' | '' | ||
- | If set to true, the message will be shown to everyone, and not just to the activator. This settings | + | If set to true, the message will be shown to everyone, and not just to the activator. This setting |
==== HudSetLayer ==== | ==== HudSetLayer ==== | ||
Line 258: | Line 275: | ||
<note important> | <note important> | ||
- | <note tip>If you want to do '' | + | <note tip>If you want to do '' |
==== HudSetCameraActor ==== | ==== HudSetCameraActor ==== |