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/10 13:23] – [HudSetShowToEveryone] 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 ===== |