credit
This commit is contained in:
+24
-17
@@ -2,6 +2,7 @@
|
||||
|
||||
[ext_resource type="Shader" uid="uid://1we0jycvvn8u" path="res://assets/shader/pause.gdshader" id="1_f1d2v"]
|
||||
[ext_resource type="Script" uid="uid://bw3lylyfu7lds" path="res://scripts/pause.gd" id="1_r8yp4"]
|
||||
[ext_resource type="PackedScene" uid="uid://da2tpay2r2ub" path="res://ui/option.tscn" id="3_wn0le"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_r8yp4"]
|
||||
shader = ExtResource("1_f1d2v")
|
||||
@@ -130,25 +131,13 @@ _data = {
|
||||
&"blur": SubResource("Animation_aicil")
|
||||
}
|
||||
|
||||
[node name="pause" type="Control" unique_id=863144941]
|
||||
[node name="pause" type="CanvasLayer" unique_id=194370821]
|
||||
process_mode = 2
|
||||
layout_mode = 3
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -374.0
|
||||
offset_top = -216.0
|
||||
offset_right = 374.0
|
||||
offset_bottom = 216.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
layer = 5
|
||||
script = ExtResource("1_r8yp4")
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="." unique_id=641382320]
|
||||
material = SubResource("ShaderMaterial_r8yp4")
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
@@ -188,11 +177,11 @@ size_flags_horizontal = 5
|
||||
theme_override_font_sizes/font_size = 60
|
||||
text = "Continuer"
|
||||
|
||||
[node name="Restart" type="Button" parent="ColorRect/PanelContainer/VBoxContainer" unique_id=1625445820]
|
||||
[node name="Option" type="Button" parent="ColorRect/PanelContainer/VBoxContainer" unique_id=1131735684]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 5
|
||||
theme_override_font_sizes/font_size = 60
|
||||
text = "Recommencer"
|
||||
text = "Option"
|
||||
|
||||
[node name="Menu" type="Button" parent="ColorRect/PanelContainer/VBoxContainer" unique_id=1445169436]
|
||||
layout_mode = 2
|
||||
@@ -203,6 +192,24 @@ text = "Menu"
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1393900707]
|
||||
libraries/ = SubResource("AnimationLibrary_jn4bt")
|
||||
|
||||
[node name="Option" parent="." unique_id=1693554343 instance=ExtResource("3_wn0le")]
|
||||
visible = false
|
||||
|
||||
[node name="Continuer" type="Button" parent="Option" unique_id=1763941908]
|
||||
anchors_preset = 7
|
||||
anchor_left = 0.5
|
||||
anchor_top = 1.0
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -43.0
|
||||
offset_top = -228.17499
|
||||
offset_right = 43.0
|
||||
offset_bottom = -197.17499
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
text = "Continuer"
|
||||
|
||||
[connection signal="pressed" from="ColorRect/PanelContainer/VBoxContainer/Resume" to="." method="_on_resume_pressed"]
|
||||
[connection signal="pressed" from="ColorRect/PanelContainer/VBoxContainer/Restart" to="." method="_on_restart_pressed"]
|
||||
[connection signal="pressed" from="ColorRect/PanelContainer/VBoxContainer/Option" to="." method="_on_option_pressed"]
|
||||
[connection signal="pressed" from="ColorRect/PanelContainer/VBoxContainer/Menu" to="." method="_on_menu_pressed"]
|
||||
[connection signal="pressed" from="Option/Continuer" to="." method="_on_button_pressed"]
|
||||
|
||||
Reference in New Issue
Block a user