-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlevel_completed.tscn
47 lines (38 loc) · 1.52 KB
/
level_completed.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
[gd_scene load_steps=2 format=3 uid="uid://dr6xtrv7axnnj"]
[ext_resource type="Script" path="res://level_completed.gd" id="1_4sb5l"]
[node name="LevelCompleted" type="ColorRect"]
process_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0, 0, 0, 0.207843)
script = ExtResource("1_4sb5l")
[node name="CenteredContainer" type="CenterContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_bottom = -4.0
grow_horizontal = 2
grow_vertical = 2
[node name="VBoxContainer" type="VBoxContainer" parent="CenteredContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="CenteredContainer/VBoxContainer"]
layout_mode = 2
text = "Level Completed!"
horizontal_alignment = 1
[node name="HBoxContainer" type="HBoxContainer" parent="CenteredContainer/VBoxContainer"]
layout_mode = 2
[node name="RetryButton" type="Button" parent="CenteredContainer/VBoxContainer/HBoxContainer"]
custom_minimum_size = Vector2(64, 16)
layout_mode = 2
text = "Retry"
[node name="NextLevelButton" type="Button" parent="CenteredContainer/VBoxContainer/HBoxContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(64, 16)
layout_mode = 2
text = "Next Level"
[connection signal="pressed" from="CenteredContainer/VBoxContainer/HBoxContainer/RetryButton" to="." method="_on_retry_button_pressed"]
[connection signal="pressed" from="CenteredContainer/VBoxContainer/HBoxContainer/NextLevelButton" to="." method="_on_next_level_button_pressed"]