Page 1 of 1

HUD Layering Order

PostPosted: Wed Nov 16, 2016 19:56
by ErrorNull
Is there a way freely control HUDs to be in front or behind other HUDs that are on screen?

Re: HUD Layering Order

PostPosted: Sun Nov 20, 2016 14:05
by ErrorNull
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 1536 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 1536 times

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

Re: HUD Layering Order

PostPosted: Sun Nov 20, 2016 19:15
by Christian9
Well I'm no expert on HUDs, But you can try making the hotbar boxes translucent.

Re: HUD Layering Order

PostPosted: Sun Nov 20, 2016 19:16
by Christian9
or the "cute little holes"

Re: HUD Layering Order

PostPosted: Sun Nov 20, 2016 21:55
by ErrorNull
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.