toutGlobalement
This commit is contained in:
9
scene/control/door_view.tscn
Normal file
9
scene/control/door_view.tscn
Normal file
@@ -0,0 +1,9 @@
|
||||
[gd_scene format=3 uid="uid://bq2yxcm55h7n8"]
|
||||
|
||||
[node name="door_view" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://co0u7xd45nxv1"]
|
||||
[gd_scene load_steps=7 format=3 uid="uid://co0u7xd45nxv1"]
|
||||
|
||||
[ext_resource type="FontFile" uid="uid://c0i81edd5mitx" path="res://font/October Crow.ttf" id="1_ndt1a"]
|
||||
[ext_resource type="Script" path="res://script/Menu.cs" id="1_pfhrs"]
|
||||
@@ -7,6 +7,8 @@
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_ukgpa"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_1bsfp"]
|
||||
|
||||
[node name="menu" type="Control"]
|
||||
process_mode = 3
|
||||
layout_mode = 3
|
||||
@@ -17,7 +19,7 @@ grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_pfhrs")
|
||||
|
||||
[node name="Panel" type="Panel" parent="."]
|
||||
[node name="background" type="Panel" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
@@ -26,11 +28,17 @@ grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxEmpty_ukgpa")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="Panel"]
|
||||
[node name="Sprite2D" type="Sprite2D" parent="background"]
|
||||
position = Vector2(200, 150)
|
||||
texture = ExtResource("2_e3nc5")
|
||||
|
||||
[node name="Paused" type="Label" parent="."]
|
||||
[node name="Panel" type="Panel" parent="."]
|
||||
layout_mode = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
theme_override_styles/panel = SubResource("StyleBoxEmpty_1bsfp")
|
||||
|
||||
[node name="Paused" type="Label" parent="Panel"]
|
||||
layout_mode = 2
|
||||
offset_left = 28.0
|
||||
offset_top = 17.0
|
||||
@@ -40,7 +48,7 @@ theme_override_fonts/font = ExtResource("1_ndt1a")
|
||||
theme_override_font_sizes/font_size = 64
|
||||
text = "Paused"
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="Panel"]
|
||||
custom_minimum_size = Vector2(100, 0)
|
||||
layout_mode = 2
|
||||
offset_left = 250.0
|
||||
@@ -51,24 +59,29 @@ size_flags_horizontal = 4
|
||||
theme_override_constants/separation = 16
|
||||
alignment = 1
|
||||
|
||||
[node name="Resume" type="Button" parent="VBoxContainer"]
|
||||
[node name="Resume" type="Button" parent="Panel/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_166c6")
|
||||
text = "Resume
|
||||
"
|
||||
|
||||
[node name="option" type="Button" parent="VBoxContainer"]
|
||||
[node name="Trick" type="Button" parent="Panel/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_166c6")
|
||||
text = "Options
|
||||
text = "Trick
|
||||
"
|
||||
|
||||
[node name="exit" type="Button" parent="VBoxContainer"]
|
||||
[node name="exit" type="Button" parent="Panel/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_166c6")
|
||||
text = "Exit
|
||||
"
|
||||
|
||||
[connection signal="button_down" from="VBoxContainer/Resume" to="." method="ResumeDown"]
|
||||
[connection signal="button_down" from="VBoxContainer/option" to="." method="OptionDown"]
|
||||
[connection signal="button_down" from="VBoxContainer/exit" to="." method="ExitDown"]
|
||||
[node name="TrickMenu" type="Control" parent="."]
|
||||
anchors_preset = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
|
||||
[connection signal="button_down" from="Panel/VBoxContainer/Resume" to="." method="ResumeDown"]
|
||||
[connection signal="button_down" from="Panel/VBoxContainer/Trick" to="." method="OptionDown"]
|
||||
[connection signal="button_down" from="Panel/VBoxContainer/exit" to="." method="ExitDown"]
|
||||
|
||||
Reference in New Issue
Block a user