You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be useful to be able to change the horizontal and vertical origins that widgets are positioned. The default should be the top/left, but if the user wants it at the bottom/right, bottom/left, or whatever then that should be settable.
Would provide easy to use when making lots of HUD elements.
The text was updated successfully, but these errors were encountered:
HUD Widgets can now change the origin they are positioned at by setting verticalOrigin and horizontalOrigin properties.
//Makes the widget render from the right instead of left
this.widget.horizontalOrigin = Kiwi.HUD.HUDWidget.RIGHT; //Or you can just say 'right'
//Makes the widget render from the bottom instead of top
this.widget.verticalOrigin= Kiwi.HUD.HUDWidget.BOTTOM; //Or you can just say 'bottom'
It would be useful to be able to change the horizontal and vertical origins that widgets are positioned. The default should be the top/left, but if the user wants it at the bottom/right, bottom/left, or whatever then that should be settable.
Would provide easy to use when making lots of HUD elements.
The text was updated successfully, but these errors were encountered: