2024-01-26 17:51:04 -08:00
|
|
|
[ui.status]
|
|
|
|
|
|
|
|
# TODO: unified color value
|
|
|
|
# TODO: anchor
|
|
|
|
# TODO: bar type: linear/radial
|
|
|
|
# TODO: bar as ui util struct
|
|
|
|
# TODO: mouse collider
|
|
|
|
# TODO: modular UI (how?)
|
|
|
|
# TODO: textbox configuration
|
|
|
|
|
|
|
|
# shield_bar.pos = [-19, -19]
|
|
|
|
# shield_bar.diameter = 182
|
|
|
|
# shield_bar.stroke = 5
|
|
|
|
# shield_bar.color = [0.3, 0.6, 0.8, 1.0]
|
|
|
|
#
|
|
|
|
# hull_bar.pos = [-27.0, -27.0]
|
|
|
|
# hull_bar.diameter = 166.0
|
|
|
|
# hull_bar.stroke = 5
|
|
|
|
# hull_bar.color = [0.8, 0.7, 0.5, 1.0]
|
|
|
|
# frame.sprite = "ui::status"
|
|
|
|
# frame.pos = [-10.0, -10.0]
|
|
|
|
# frame.dim = [200.0, 200.0]
|
|
|
|
|
|
|
|
|
2024-01-25 21:58:41 -08:00
|
|
|
[ui.landed]
|
|
|
|
frame.sprite = "ui::planet"
|
|
|
|
frame.pos = [0.0, 0.0]
|
|
|
|
frame.dim = [800.0, 800.0]
|
|
|
|
|
|
|
|
landscape.mask = "ui::landscapemask"
|
|
|
|
landscape.pos = [32.0, 75.0]
|
|
|
|
landscape.dim = [344.0, 173.0]
|
|
|
|
landscape.loc_div = 512
|
|
|
|
|
|
|
|
button.sprite = "ui::planet::button"
|
|
|
|
button.pos = [356, 90]
|
|
|
|
button.dim = [113.569, 20]
|
|
|
|
button.loc_div = 512
|
|
|
|
button.on_mouse_enter.edge = "on:top"
|
|
|
|
button.on_mouse_enter.duration = 0.1
|
|
|
|
button.on_mouse_leave.edge = "off:top"
|
|
|
|
button.on_mouse_leave.duration = 0.1
|