-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwinner_screen.tscn
57 lines (47 loc) · 2.28 KB
/
winner_screen.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
[gd_scene load_steps=4 format=3 uid="uid://ug8pkcv0or2s"]
[ext_resource type="Script" path="res://winner_screen.gd" id="1_tpvnk"]
[ext_resource type="Script" path="res://play_again_Button.gd" id="2_6x35n"]
[ext_resource type="Script" path="res://Next Level button.gd" id="3_roonv"]
[node name="winner screan" type="Node2D"]
position = Vector2(195, 142)
script = ExtResource("1_tpvnk")
[node name="MarginContainer" type="MarginContainer" parent="."]
offset_left = 147.0
offset_top = 36.0
offset_right = 234.0
offset_bottom = 76.0
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
layout_mode = 2
[node name="time" type="Label" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 81
text = "time"
horizontal_alignment = 1
vertical_alignment = 1
justification_flags = 35
[node name="Level completed" type="Label" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 45
text = "Level completed"
[node name="Next_Level" type="Button" parent="MarginContainer/VBoxContainer"]
custom_minimum_size = Vector2(200, 100)
layout_mode = 2
theme_override_font_sizes/font_size = 39
text = "Next Level"
script = ExtResource("3_roonv")
[node name="Play again" type="Button" parent="MarginContainer/VBoxContainer"]
custom_minimum_size = Vector2(200, 100)
layout_mode = 2
theme_override_font_sizes/font_size = 39
action_mode = 0
text = "Play again"
script = ExtResource("2_6x35n")
[node name="Levels" type="Button" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 50
text = "Levels"
[connection signal="button_down" from="MarginContainer/VBoxContainer/Next_Level" to="MarginContainer/VBoxContainer/Next_Level" method="_on_button_down"]
[connection signal="pressed" from="MarginContainer/VBoxContainer/Next_Level" to="MarginContainer/VBoxContainer/Next_Level" method="_on_pressed"]
[connection signal="button_down" from="MarginContainer/VBoxContainer/Play again" to="MarginContainer/VBoxContainer/Play again" method="_on_button_down"]
[connection signal="pressed" from="MarginContainer/VBoxContainer/Play again" to="MarginContainer/VBoxContainer/Play again" method="_on_pressed"]
[connection signal="pressed" from="MarginContainer/VBoxContainer/Levels" to="." method="_on_levels_pressed"]