/
hud.gui
118 lines (106 loc) · 2.12 KB
/
hud.gui
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
[MAIN] {
stretch: true
[GAMEOVER] {
type: label
stretch: true
caption: GAME OVER
theme_data: game_over_text
}
[BOSS] {
type: progressbar
alignment: top
margin: 50
size: 600, 40
progress_alignment: left
theme_data: healthbar_boss
}
}
[PLAYER] {
stretch: true
[ENERGY] {
type: progressbar
alignment: bottomleft
margin: 30, 75
size: 40, 600
progress_alignment: bottom
theme_data: progressbar_energy
{
@ref: INFO_LABEL_V
caption: ENERGY
margin: 0, 60
}
}
[HULL] {
type: progressbar
alignment: bottomleft
margin: 80, 75
size: 40, 300
progress_alignment: bottom
theme_data: progressbar_hull
{
@ref: INFO_LABEL_V
caption: HULL
}
}
[SHIELD] {
type: progressbar
alignment: bottomleft
margin: 80, 375
size: 40, 200
progress_alignment: bottom
theme_data: progressbar_shield
{
@ref: INFO_LABEL_V
caption: SHIELD
}
}
[PLA] {
alignment: bottomleft
match_content_size: true
margin: 50, 30
type: image
texture: pickup/pla.png
size: 40, 40
}
[PLA_LABEL] {
type: label
caption: 0
text_alignment: left
alignment: bottomleft
size: 400, 40
margin: 100, 30
}
}
[@INFO_LABEL_H] {
type: label
stretch: true
text_alignment: left
margin: 30, 0
}
[@INFO_LABEL_V] {
type: label
stretch: true
text_alignment: bottom
vertical: true
margin: 0, 30
}
[MESSAGE] {
type: panel
fill_width: true
size: 0, 300
margin: 50
layout: horizontal
[FACE] {
type: image
margin: 30, 0, 30, 30
size: 240, 240
}
[TEXT] {
type: label
caption: TEST\nTEST2
text_alignment: topleft
margin: 30
size: 500, 240
theme_data: message_text
}
}