+ 1

How to create HUD ui with programming ?

Hud design (gui)

13th Jul 2020, 8:21 AM
Cyborg🤖
Cyborg🤖 - avatar
3 odpowiedzi
+ 1
By application, you probably mean that it isn't a game and isn't a web application/website. If you want to make a heads up display in Windows, c# would be a great language. The following example shows how to make a semi-transparent window in c#: https://www.codeproject.com/articles/1157/create-transparent-windows-using-c I would get that working in Visual Studio and then adjust the inputs or the visual effects to what you want. You might want the window maximized and filling the whole screen. If that isn't what you're after, can you share a screenshot of something closer to what you want?
16th Jul 2020, 6:28 PM
Josh Greig
Josh Greig - avatar
+ 2
Josh Greig i want to create HUD for applications
16th Jul 2020, 3:38 PM
Cyborg🤖
Cyborg🤖 - avatar
+ 1
It would help to know more specifically what language you're using and if this head-up display(HUD) is for making a game because the alternatives vary widely. If this was for a game in a website and you used a canvas for most of the game's graphics, you could draw the HUD in the canvas or you could create a layer over it with something like a div. Using a div element with a different z-index and CSS position absolute or fixed would be great if your HUD was 2D. This way you get to define your buttons, links... in multiple HTML elements. You'd have more work associating click/touch coordinates with actions with a canvas-drawn head-up display.
16th Jul 2020, 3:30 PM
Josh Greig
Josh Greig - avatar