first
This commit is contained in:
97
scene/settingsmenu.tscn
Normal file
97
scene/settingsmenu.tscn
Normal file
@@ -0,0 +1,97 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://d1dplm1rdcx1h"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bsteyp1ndegj" path="res://script/settingsmenu.gd" id="1_wd8vk"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_msc0b"]
|
||||
bg_color = Color(0.261456, 0.366432, 0.498267, 1)
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_gxfgb"]
|
||||
font_size = 18
|
||||
|
||||
[sub_resource type="StyleBoxLine" id="StyleBoxLine_wd8vk"]
|
||||
|
||||
[node name="Settings" type="Control"]
|
||||
z_index = 5
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_wd8vk")
|
||||
|
||||
[node name="Panel" type="Panel" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_msc0b")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 0
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
mouse_filter = 0
|
||||
theme_override_constants/margin_left = 5
|
||||
theme_override_constants/margin_top = 5
|
||||
theme_override_constants/margin_right = 5
|
||||
theme_override_constants/margin_bottom = 5
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer/MarginContainer"]
|
||||
layout_mode = 2
|
||||
text = "Settings Menu"
|
||||
label_settings = SubResource("LabelSettings_gxfgb")
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_styles/separator = SubResource("StyleBoxLine_wd8vk")
|
||||
|
||||
[node name="MarginContainer2" type="MarginContainer" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
mouse_filter = 0
|
||||
theme_override_constants/margin_left = 5
|
||||
theme_override_constants/margin_top = 5
|
||||
theme_override_constants/margin_right = 5
|
||||
theme_override_constants/margin_bottom = 5
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/MarginContainer2"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/MarginContainer2/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="Leave" type="Button" parent="VBoxContainer/MarginContainer2/HBoxContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Leave Setting
|
||||
"
|
||||
|
||||
[node name="Quit" type="Button" parent="VBoxContainer/MarginContainer2/HBoxContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Quit Game
|
||||
"
|
||||
|
||||
[node name="VBoxContainer2" type="VBoxContainer" parent="VBoxContainer/MarginContainer2/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="VBoxContainer3" type="VBoxContainer" parent="VBoxContainer/MarginContainer2/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="VBoxContainer4" type="VBoxContainer" parent="VBoxContainer/MarginContainer2/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[connection signal="pressed" from="VBoxContainer/MarginContainer2/HBoxContainer/VBoxContainer/Leave" to="." method="_on_leave_pressed"]
|
||||
[connection signal="pressed" from="VBoxContainer/MarginContainer2/HBoxContainer/VBoxContainer/Quit" to="." method="_on_quit_pressed"]
|
||||
Reference in New Issue
Block a user