Compare commits

..

2 Commits

Author SHA1 Message Date
Mark 8b3dd588a5
Added a few sprites 2024-01-26 22:57:55 -08:00
Mark bba827e8cc
TODO comments 2024-01-26 17:51:04 -08:00
3 changed files with 54 additions and 3 deletions

2
assets

@ -1 +1 @@
Subproject commit c8e08d445a2a38cc7059dd8075770ba8398655e2
Subproject commit 481c1071a5c08124535daef78d746f6ec58c056e

View File

@ -91,14 +91,41 @@ file = "ui/landscape/test.png"
[sprite."ui::landscapemask"]
file = "ui/landscape-mask.png"
[sprite."ui::outfitbg"]
file = "ui/outfit-bg.png"
[sprite."ui::shopsepbar"]
file = "ui/shop-sep-bar.png"
[sprite."icon::blaster"]
file = "icon/blaster.png"
[sprite."icon::engine"]
file = "icon/engine.png"
[sprite."icon::gypsum"]
file = "icon/gypsum.png"
[sprite."icon::shield"]
file = "icon/shield.png"
[sprite."ui::button"]
start_at = "off:top"
section.off.top = "stop"
section.off.bot = "stop"
section.off.timing.duration = 0.5
section.off.frames = ["ui/button-off.png"]
section.on.top = "stop"
section.on.bot = "stop"
section.on.timing.duration = 0.5
section.on.frames = ["ui/button-on.png"]
[sprite."ui::planet::button"]
start_at = "off:top"
section.off.top = "stop"
section.off.bot = "stop"
section.off.timing.duration = 0.5
section.off.frames = ["ui/planet-button-off.png"]
section.on.top = "stop"
section.on.bot = "stop"
section.on.timing.duration = 0.5

View File

@ -1,3 +1,27 @@
[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]
[ui.landed]
frame.sprite = "ui::planet"
frame.pos = [0.0, 0.0]