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 cb1d8ed489
commit 7828b34c01
11 changed files with 190 additions and 92 deletions
+33 -9
View File
@@ -5,25 +5,27 @@
[node name="Settings" type="CenterContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -1.12244
margin_right = -1.12244
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="."]
margin_left = 643.0
margin_top = 421.0
margin_right = 796.0
margin_bottom = 479.0
margin_left = 547.0
margin_top = 309.0
margin_right = 732.0
margin_bottom = 411.0
alignment = 1
[node name="Langue" type="CenterContainer" parent="VBoxContainer"]
margin_right = 153.0
margin_right = 185.0
margin_bottom = 14.0
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/Langue"]
margin_left = 42.0
margin_right = 111.0
margin_left = 58.0
margin_right = 127.0
margin_bottom = 14.0
[node name="Label" type="Label" parent="VBoxContainer/Langue/HBoxContainer"]
@@ -42,11 +44,12 @@ __meta__ = {
[node name="gyroscope" type="CenterContainer" parent="VBoxContainer"]
margin_top = 18.0
margin_right = 153.0
margin_right = 185.0
margin_bottom = 58.0
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/gyroscope"]
margin_right = 153.0
margin_left = 16.0
margin_right = 169.0
margin_bottom = 40.0
[node name="Label" type="Label" parent="VBoxContainer/gyroscope/HBoxContainer"]
@@ -61,4 +64,25 @@ margin_right = 153.0
margin_bottom = 40.0
align = 1
[node name="ambiant_sound" type="CenterContainer" parent="VBoxContainer"]
margin_top = 62.0
margin_right = 185.0
margin_bottom = 102.0
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/ambiant_sound"]
margin_right = 185.0
margin_bottom = 40.0
[node name="Label" type="Label" parent="VBoxContainer/ambiant_sound/HBoxContainer"]
margin_top = 13.0
margin_right = 105.0
margin_bottom = 27.0
text = "Ambiant sound :"
[node name="data" type="CheckButton" parent="VBoxContainer/ambiant_sound/HBoxContainer"]
margin_left = 109.0
margin_right = 185.0
margin_bottom = 40.0
[connection signal="pressed" from="VBoxContainer/gyroscope/HBoxContainer/data" to="." method="_on_gyroscope_pressed"]
[connection signal="pressed" from="VBoxContainer/ambiant_sound/HBoxContainer/data" to="." method="_on_ambiant_sound_pressed"]