Page 1 of 1

Transparent Window (HUD)

Posted: Sat May 11, 2019 7:20 pm
by mattychays
I have successfully generated a 2D Texture using the PDK, when I try to use that as the background of a Window via the "Texture=" it does not appear transparent and the Window cannot be moved.

Essentially I'm trying to draw a DirectX HUD to a transparent window that I can drag over a 2D view to simulate looking through a HUD.

Thanks!

-Matty
"Set 1010!"

Re: Transparent Window (HUD)

Posted: Tue May 14, 2019 12:50 pm
by Rob McCarthy
Hi Matty,

Have you tried using a panel for the HUD? The texture00 entry can be used to place textures on the panel.

Regards,
Rob McCarthy

Re: Transparent Window (HUD)

Posted: Sun May 19, 2019 7:56 pm
by mattychays
Mr. McCarthy,

Thanks for your quick response! I will give the Panel approach a try and see how it goes!

Re: Transparent Window (HUD)

Posted: Fri May 24, 2019 8:41 am
by foasolution
Hi Matty,

Have you tried using a panel for the HUD? The texture00 entry can be used to place textures on the panel.

Regards,
Rob McCarthy
Is this working fine??