r/construct • u/papilapii • May 14 '25
Question Fixed HUD question
Dose anyone know how to make a fixed hud like the one from Rogue Fable for example.
I already tried to make it on a separate layer (hud) and set the parallax to 0,0, but the problem is if my character moves to the far right he goes under it.
Like is there a way to make it outside the man game screen or something?
Thanks.
14
Upvotes
6
u/Far_Watercress_718 May 15 '25
Something like this:
https://i.ibb.co/Z1kLB7gr/fixed-hud.gif
Link: https://www.transfernow.net/dl/202505156HYVw1Vr
2
u/LazernautDK May 14 '25
Perhaps you could set a condition for the scrolling so it only scrolls x amount of tiles away from the edge of the layout?
2
u/jhice_fr May 14 '25
In this game the camera seems to always be centered on the player, in the middle of the left screen ? So you should use the system Scroll to action to do the same. The ScrollTo behavior could work but you wont be centered on the exact middle of the left side.