-
Notifications
You must be signed in to change notification settings - Fork 2
/
TopBar.tscn
128 lines (110 loc) · 3.27 KB
/
TopBar.tscn
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
119
120
121
122
123
124
125
126
127
128
[gd_scene load_steps=8 format=2]
[ext_resource path="res://Theme.tres" type="Theme" id=1]
[ext_resource path="res://BoldLabelFont.tres" type="DynamicFont" id=2]
[ext_resource path="res://TopBar.gd" type="Script" id=3]
[sub_resource type="StyleBoxFlat" id=1]
bg_color = Color( 0.6, 0.6, 0.6, 0.501961 )
[sub_resource type="StyleBoxEmpty" id=2]
[sub_resource type="StyleBoxFlat" id=3]
bg_color = Color( 1, 1, 1, 0.25098 )
[sub_resource type="StyleBoxEmpty" id=4]
[node name="TopBar" type="PanelContainer"]
margin_right = 1090.0
margin_bottom = 36.0
rect_min_size = Vector2( 0, 36 )
mouse_filter = 2
size_flags_horizontal = 3
custom_styles/panel = SubResource( 1 )
script = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="margin" type="MarginContainer" parent="."]
margin_right = 1090.0
margin_bottom = 36.0
mouse_filter = 2
custom_constants/margin_right = 2
custom_constants/margin_top = 2
custom_constants/margin_left = 2
custom_constants/margin_bottom = 2
[node name="hbox" type="HBoxContainer" parent="margin"]
margin_left = 2.0
margin_top = 2.0
margin_right = 1088.0
margin_bottom = 34.0
mouse_filter = 2
alignment = 1
[node name="panel_container" type="PanelContainer" parent="margin/hbox"]
margin_right = 281.0
margin_bottom = 32.0
size_flags_horizontal = 3
custom_styles/panel = SubResource( 2 )
[node name="pollution_progress_bar" type="ProgressBar" parent="margin/hbox/panel_container"]
margin_right = 281.0
margin_bottom = 32.0
size_flags_vertical = 1
theme = ExtResource( 1 )
custom_styles/fg = SubResource( 3 )
custom_styles/bg = SubResource( 4 )
max_value = 1.0
value = 0.5
percent_visible = false
[node name="hbox" type="HBoxContainer" parent="margin/hbox/panel_container"]
margin_right = 281.0
margin_bottom = 32.0
size_flags_horizontal = 3
[node name="pollution_label" type="Label" parent="margin/hbox/panel_container/hbox"]
margin_top = 8.0
margin_right = 61.0
margin_bottom = 23.0
theme = ExtResource( 1 )
custom_fonts/font = ExtResource( 2 )
text = "Pollution:"
[node name="pollution_value_label" type="Label" parent="margin/hbox/panel_container/hbox"]
margin_left = 65.0
margin_top = 8.0
margin_right = 281.0
margin_bottom = 23.0
size_flags_horizontal = 3
theme = ExtResource( 1 )
custom_fonts/font = ExtResource( 2 )
text = "0 (0%)"
[node name="sep1" type="VSeparator" parent="margin/hbox"]
margin_left = 285.0
margin_right = 289.0
margin_bottom = 32.0
theme = ExtResource( 1 )
[node name="title_label" type="Label" parent="margin/hbox"]
margin_left = 293.0
margin_top = 8.0
margin_right = 743.0
margin_bottom = 23.0
rect_min_size = Vector2( 450, 0 )
theme = ExtResource( 1 )
custom_fonts/font = ExtResource( 2 )
text = "Destroy the Planet"
align = 1
[node name="sep2" type="VSeparator" parent="margin/hbox"]
margin_left = 747.0
margin_right = 751.0
margin_bottom = 32.0
theme = ExtResource( 1 )
[node name="money_label" type="Label" parent="margin/hbox"]
margin_left = 755.0
margin_top = 8.0
margin_right = 801.0
margin_bottom = 23.0
mouse_filter = 1
theme = ExtResource( 1 )
custom_fonts/font = ExtResource( 2 )
text = "Money:"
[node name="money_value_label" type="Label" parent="margin/hbox"]
margin_left = 805.0
margin_top = 8.0
margin_right = 1086.0
margin_bottom = 23.0
mouse_filter = 1
size_flags_horizontal = 3
theme = ExtResource( 1 )
custom_fonts/font = ExtResource( 2 )
text = "0"