-
Notifications
You must be signed in to change notification settings - Fork 0
/
tierPanel2.tscn
201 lines (178 loc) · 5.42 KB
/
tierPanel2.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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
[gd_scene load_steps=12 format=2]
[ext_resource path="res://images/00036-449810239.png" type="Texture" id=1]
[ext_resource path="res://theme.tres" type="Theme" id=2]
[ext_resource path="res://fonts/Exo_2/Exo2-VariableFont_wght.ttf" type="DynamicFontData" id=3]
[ext_resource path="res://fonts/Exo_2/static/Exo2-Bold.ttf" type="DynamicFontData" id=4]
[ext_resource path="res://Button.tscn" type="PackedScene" id=5]
[ext_resource path="res://roundcorner.gdshader" type="Shader" id=6]
[ext_resource path="res://images/perceptron-export.png" type="Texture" id=8]
[sub_resource type="ShaderMaterial" id=9]
shader = ExtResource( 6 )
shader_param/corner_radius = 60.0
[sub_resource type="StyleBoxFlat" id=8]
bg_color = Color( 0.564706, 0.890196, 0.435294, 0.109804 )
corner_radius_top_left = 12
corner_radius_top_right = 12
corner_radius_bottom_right = 12
corner_radius_bottom_left = 12
[sub_resource type="DynamicFont" id=3]
size = 24
use_filter = true
font_data = ExtResource( 3 )
[sub_resource type="DynamicFont" id=4]
size = 24
use_filter = true
font_data = ExtResource( 4 )
[node name="TierPanel" type="Panel"]
self_modulate = Color( 0.235294, 0.247059, 0.258824, 0.682353 )
anchor_right = 1.0
margin_right = -40.0
margin_bottom = 130.0
rect_min_size = Vector2( 0, 130 )
mouse_filter = 1
size_flags_horizontal = 3
size_flags_vertical = 3
theme = ExtResource( 2 )
[node name="HBoxContainer" type="HBoxContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 8.0
margin_top = 6.0
margin_right = -8.0
margin_bottom = -6.0
custom_constants/separation = 6
[node name="Container" type="AspectRatioContainer" parent="HBoxContainer"]
margin_right = 120.0
margin_bottom = 120.0
rect_min_size = Vector2( 120, 120 )
mouse_filter = 1
[node name="InfoIconButton" parent="HBoxContainer/Container" instance=ExtResource( 5 )]
unique_name_in_owner = true
margin_top = 0.0
margin_right = 120.0
margin_bottom = 120.0
text = ""
icon_align = 1
expand_icon = true
[node name="Icon" type="TextureRect" parent="HBoxContainer/Container/InfoIconButton"]
unique_name_in_owner = true
material = SubResource( 9 )
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 6.0
margin_top = 6.0
margin_right = -6.0
margin_bottom = -6.0
texture = ExtResource( 1 )
expand = true
[node name="MarginContainer" type="MarginContainer" parent="HBoxContainer"]
margin_left = 126.0
margin_top = 15.0
margin_right = 546.0
margin_bottom = 105.0
rect_min_size = Vector2( 420, 90 )
mouse_filter = 1
size_flags_horizontal = 3
size_flags_vertical = 4
[node name="name" type="Label" parent="HBoxContainer/MarginContainer"]
unique_name_in_owner = true
margin_left = 90.0
margin_right = 330.0
margin_bottom = 50.0
rect_min_size = Vector2( 240, 50 )
size_flags_horizontal = 6
size_flags_vertical = 0
custom_styles/normal = SubResource( 8 )
text = "Logic Theroist"
align = 1
valign = 1
[node name="HBoxContainer" type="HBoxContainer" parent="HBoxContainer/MarginContainer"]
margin_top = 61.0
margin_right = 420.0
margin_bottom = 90.0
size_flags_vertical = 10
[node name="owned" type="Label" parent="HBoxContainer/MarginContainer/HBoxContainer"]
unique_name_in_owner = true
margin_right = 208.0
margin_bottom = 29.0
size_flags_horizontal = 3
custom_fonts/font = SubResource( 3 )
text = "Owned: 12 "
align = 1
[node name="produces" type="Label" parent="HBoxContainer/MarginContainer/HBoxContainer"]
unique_name_in_owner = true
margin_left = 212.0
margin_right = 420.0
margin_bottom = 29.0
size_flags_horizontal = 3
custom_fonts/font = SubResource( 3 )
text = "Produces: 1 cps "
align = 1
[node name="total" type="Label" parent="HBoxContainer/MarginContainer/HBoxContainer"]
unique_name_in_owner = true
visible = false
margin_left = 282.0
margin_right = 420.0
margin_bottom = 20.0
size_flags_horizontal = 3
custom_fonts/font = SubResource( 3 )
text = "Totaling: 12 cps"
align = 1
[node name="buyButton" parent="HBoxContainer" instance=ExtResource( 5 )]
unique_name_in_owner = true
margin_left = 552.0
margin_top = 0.0
margin_right = 668.0
margin_bottom = 120.0
rect_min_size = Vector2( 116, 116 )
mouse_filter = 1
size_flags_horizontal = 3
size_flags_vertical = 3
text = ""
expand_icon = true
[node name="HBoxContainer" type="HBoxContainer" parent="HBoxContainer/buyButton"]
anchor_right = 1.0
margin_top = 30.0
margin_bottom = 30.0
size_flags_horizontal = 4
alignment = 1
[node name="ReferenceRect" type="ReferenceRect" parent="HBoxContainer/buyButton/HBoxContainer"]
margin_right = 24.0
margin_bottom = 30.0
mouse_filter = 2
size_flags_horizontal = 3
[node name="Price" type="Label" parent="HBoxContainer/buyButton/HBoxContainer"]
unique_name_in_owner = true
margin_left = 28.0
margin_right = 53.0
margin_bottom = 29.0
size_flags_horizontal = 8
custom_colors/font_color = Color( 0.909804, 0.921569, 1, 1 )
custom_fonts/font = SubResource( 4 )
text = "10"
align = 1
valign = 1
[node name="TextureRect" type="TextureRect" parent="HBoxContainer/buyButton/HBoxContainer"]
margin_left = 57.0
margin_right = 87.0
margin_bottom = 30.0
rect_min_size = Vector2( 30, 30 )
size_flags_horizontal = 0
size_flags_vertical = 2
texture = ExtResource( 8 )
expand = true
stretch_mode = 1
[node name="ReferenceRect2" type="ReferenceRect" parent="HBoxContainer/buyButton/HBoxContainer"]
margin_left = 91.0
margin_right = 116.0
margin_bottom = 30.0
mouse_filter = 2
size_flags_horizontal = 3
[node name="buyNum" type="Label" parent="HBoxContainer/buyButton"]
unique_name_in_owner = true
anchor_right = 1.0
anchor_bottom = 1.0
margin_bottom = -10.0
text = "Buy 1"
align = 1
valign = 2