Hi everyone. How to make one healthbar to all layouts?. For example if I have in the first layout health bar with value 5 and i got hurt once , how to make that in layout 2 I will have health bar with value 4?
Develop games in your browser. Powerful, performant & highly capable.
If you use global variable for health , that will cover all layouts. Then set healthbar width to variable.
thanks
Yeah and if you want a long healthbar, you could do Every tick> Set "My healthbar" height to "HeathVariable * 100". then you could do like weapon-specific damage
another thing you can do is if you are doing a UI with a health bar on the layout you can use Layer and set it for global and all you have to is add that Layer exact name