Add setting true/false audio background in war level

This commit is contained in:
VAILLANT Jeremy
2021-05-23 21:21:10 +02:00
parent d2c6aef9c5
commit c46cb1f41e
11 changed files with 189 additions and 91 deletions
+49 -11
View File
@@ -82,35 +82,73 @@ __meta__ = {
}
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer"]
margin_right = 1440.0
margin_bottom = 900.0
margin_right = 1280.0
margin_bottom = 720.0
[node name="UI_summary" parent="MarginContainer/HBoxContainer" instance=ExtResource( 8 )]
anchor_bottom = 0.0
margin_right = 446.0
margin_bottom = 900.0
margin_bottom = 720.0
size_flags_horizontal = 0
size_flags_vertical = 3
[node name="PanelWood" parent="MarginContainer/HBoxContainer/UI_summary" index="0"]
margin_bottom = 720.0
[node name="CenterContainer" parent="MarginContainer/HBoxContainer/UI_summary/PanelWood/VBoxContainer" index="0"]
margin_bottom = 147.0
[node name="TextureRect" parent="MarginContainer/HBoxContainer/UI_summary/PanelWood/VBoxContainer/CenterContainer" index="0"]
margin_top = 9.0
margin_bottom = 137.0
[node name="ButtonPuzzle" parent="MarginContainer/HBoxContainer/UI_summary/PanelWood/VBoxContainer" index="1"]
margin_top = 177.0
margin_bottom = 254.0
[node name="ButtonSetting" parent="MarginContainer/HBoxContainer/UI_summary/PanelWood/VBoxContainer" index="2"]
margin_top = 284.0
margin_bottom = 361.0
[node name="MarginContainer" parent="MarginContainer/HBoxContainer/UI_summary/PanelWood/VBoxContainer" index="3"]
margin_top = 391.0
margin_bottom = 539.0
[node name="ButtonQuit" parent="MarginContainer/HBoxContainer/UI_summary/PanelWood/VBoxContainer" index="4"]
margin_top = 569.0
margin_bottom = 646.0
[node name="LabelVersion" parent="MarginContainer/HBoxContainer/UI_summary/PanelWood/VBoxContainer" index="5"]
margin_top = 676.0
margin_bottom = 690.0
[node name="MarginContainerBottom" parent="MarginContainer/HBoxContainer/UI_summary/PanelWood/VBoxContainer" index="6"]
margin_top = 720.0
margin_bottom = 720.0
[node name="TextureRect" parent="MarginContainer/HBoxContainer/UI_summary" index="1"]
margin_bottom = 720.0
[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/HBoxContainer"]
margin_left = 450.0
margin_right = 1440.0
margin_bottom = 900.0
margin_right = 1280.0
margin_bottom = 720.0
size_flags_horizontal = 7
size_flags_vertical = 3
[node name="Title" parent="MarginContainer/HBoxContainer/MarginContainer" instance=ExtResource( 2 )]
anchor_right = 0.0
anchor_bottom = 0.0
margin_right = 990.0
margin_bottom = 900.0
margin_right = 830.0
margin_bottom = 720.0
[node name="Settings" parent="MarginContainer/HBoxContainer/MarginContainer" instance=ExtResource( 4 )]
visible = false
anchor_right = 0.0
anchor_bottom = 0.0
margin_right = 990.0
margin_bottom = 900.0
margin_left = 0.0
margin_right = 830.0
margin_bottom = 720.0
[node name="ChooseScene" parent="MarginContainer/HBoxContainer/MarginContainer" instance=ExtResource( 3 )]
visible = false
@@ -118,8 +156,8 @@ anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 0.0
margin_top = 0.0
margin_right = 990.0
margin_bottom = 900.0
margin_right = 830.0
margin_bottom = 720.0
[connection signal="pressed" from="MarginContainer/HBoxContainer/UI_summary/PanelWood/VBoxContainer/CenterContainer/TextureRect" to="." method="_on_TextureRect_pressed"]
[connection signal="pressed" from="MarginContainer/HBoxContainer/UI_summary/PanelWood/VBoxContainer/ButtonPuzzle" to="." method="_on_ButtonPuzzle_pressed"]