-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathLeaderBoard.tscn
156 lines (144 loc) · 3.42 KB
/
LeaderBoard.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
[gd_scene load_steps=4 format=2]
[ext_resource path="res://OpenSeed-Godot/openseed_theme.tres" type="Theme" id=1]
[ext_resource path="res://OpenSeed-Godot/LeaderBoard.gd" type="Script" id=2]
[ext_resource path="res://OpenSeed-Godot/OpenSeed.png" type="Texture" id=3]
[node name="leaderboard" type="Panel"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -152.0
margin_top = -250.0
margin_right = 152.0
margin_bottom = 250.0
rect_min_size = Vector2( 300, 500 )
rect_clip_content = true
theme = ExtResource( 1 )
script = ExtResource( 2 )
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": false
}
[node name="scoreC" type="Panel" parent="."]
self_modulate = Color( 1, 1, 1, 0 )
margin_left = 4.0
margin_top = 34.601
margin_right = 294.0
margin_bottom = 51.601
grow_horizontal = 2
grow_vertical = 2
__meta__ = {
"_edit_group_": true,
"_edit_use_anchors_": false
}
[node name="Name" type="Label" parent="scoreC"]
anchor_top = 0.5
anchor_bottom = 0.5
margin_top = -14.5
margin_right = 56.0
margin_bottom = 14.5
grow_horizontal = 2
grow_vertical = 2
text = "name"
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Score" type="Label" parent="scoreC"]
anchor_left = 1.0
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
margin_left = -70.0
margin_top = -14.5
margin_bottom = 14.5
grow_horizontal = 0
grow_vertical = 0
rect_clip_content = true
text = "score"
align = 2
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="title" type="Label" parent="."]
anchor_left = 0.5
anchor_top = 0.01
anchor_right = 0.5
anchor_bottom = 0.03
margin_left = -75.7015
margin_top = -4.09402
margin_right = 64.2985
margin_bottom = 14.906
grow_horizontal = 2
grow_vertical = 2
text = "high score"
align = 1
valign = 1
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": false
}
[node name="HSeparator" type="HSeparator" parent="."]
anchor_left = 0.1
anchor_top = 0.06
anchor_right = 0.9
anchor_bottom = 0.06
margin_left = -23.6579
margin_top = 30.5903
margin_right = 16.3421
margin_bottom = 38.5903
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": false
}
[node name="ScrollContainer" type="ScrollContainer" parent="."]
anchor_left = 0.04
anchor_top = 0.09
anchor_right = 0.96
anchor_bottom = 0.97
margin_left = -7.16
margin_top = 25.0
margin_right = 3.16
margin_bottom = -25.0
grow_horizontal = 2
grow_vertical = 2
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="ScrollContainer"]
margin_right = 278.0
grow_horizontal = 2
grow_vertical = 2
rect_min_size = Vector2( 278, 0 )
rect_clip_content = true
custom_constants/separation = 15
alignment = 1
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": false
}
[node name="break" type="Panel" parent="ScrollContainer/VBoxContainer"]
margin_right = 278.0
[node name="Sprite" type="Sprite" parent="."]
self_modulate = Color( 1, 1, 1, 0.0901961 )
position = Vector2( 271, 467.759 )
scale = Vector2( 0.06516, 0.06516 )
texture = ExtResource( 3 )
__meta__ = {
"_edit_lock_": true
}
[node name="Close_Button" type="Button" parent="."]
anchor_left = 0.404605
anchor_top = 0.90978
anchor_right = 0.598684
anchor_bottom = 0.98978
rect_min_size = Vector2( 59, 0 )
text = "close"
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": true
}
[connection signal="get_scores" from="." to="." method="_on_leaderboard_get_scores"]
[connection signal="pressed" from="Close_Button" to="." method="_on_Close_Button_pressed"]