.location support for empty-widget
Posted: Sun Aug 11, 2019 7:11 am
Since GUI:screen is any empty-widget and supports .location, would it be possible for other empty-widgets to support it as well?
That way you could have one container that can be placed anywhere on the screen, that contains other elements that are relative to the containers position.
Ideally empty-widget would also support culling as flag, so when set stuff that would get drawn over the borders is not visible.
Use-case:
More complex HUD elements with a lot smaller sprites.
That way you could have one container that can be placed anywhere on the screen, that contains other elements that are relative to the containers position.
Ideally empty-widget would also support culling as flag, so when set stuff that would get drawn over the borders is not visible.
Use-case:
More complex HUD elements with a lot smaller sprites.