HUD Layering Order

User avatar
ErrorNull
Member
 
Posts: 94
Joined: Thu Mar 03, 2016 00:43

HUD Layering Order

by ErrorNull » Wed Nov 16, 2016 19:56

Is there a way freely control HUDs to be in front or behind other HUDs that are on screen?
 

User avatar
ErrorNull
Member
 
Posts: 94
Joined: Thu Mar 03, 2016 00:43

Re: HUD Layering Order

by ErrorNull » Sun Nov 20, 2016 14:05

Anyone know? To clarify a bit more.. I am creating a new hud but don't know how (or if even possible) to make the main background image of my HUD display 'behind' the hotbar. My main hud image always overlay on top and covers the hotbar.
hud_screenshot1.png
hud_screenshot1.png (129.88 KiB) Viewed 776 times

So instead I have to carve out cute little holes in my hud image for where the hotbar inventory slots will reside.
hud_sample.png
hud_sample.png (46.58 KiB) Viewed 776 times

It's a fine workaround, but not elegant.
hud_screenshot2.png
hud_screenshot2.png (117.68 KiB) Viewed 776 times
 

User avatar
Christian9
Member
 
Posts: 273
Joined: Fri Sep 19, 2014 20:29
In-game: Christian9

Re: HUD Layering Order

by Christian9 » Sun Nov 20, 2016 19:15

Well I'm no expert on HUDs, But you can try making the hotbar boxes translucent.
 

User avatar
Christian9
Member
 
Posts: 273
Joined: Fri Sep 19, 2014 20:29
In-game: Christian9

Re: HUD Layering Order

by Christian9 » Sun Nov 20, 2016 19:16

or the "cute little holes"
 

User avatar
ErrorNull
Member
 
Posts: 94
Joined: Thu Mar 03, 2016 00:43

Re: HUD Layering Order

by ErrorNull » Sun Nov 20, 2016 21:55

hi christian9, yea that's what i ended up doing was just cut out those holes (the white boxes in hud_sample.png) so that the hotbar will then show through it (hud_screenshot2.png). It would be better if there's a way to simply tell the hotbar to always display 'in front' of my hudbar background image.
 


Return to Modding Discussion

Who is online

Users browsing this forum: No registered users and 5 guests

cron