Addd sound when user click

This commit is contained in:
VAILLANT Jeremy
2021-05-23 21:48:01 +02:00
parent ec148df87e
commit e8dfc86202
7 changed files with 56 additions and 63 deletions
+19 -17
View File
@@ -177,7 +177,7 @@ __meta__ = {
[node name="PanelWood" type="Panel" parent="."]
material = SubResource( 17 )
margin_right = 350.0
margin_bottom = 900.0
margin_bottom = 720.0
rect_min_size = Vector2( 350, 0 )
size_flags_vertical = 3
@@ -194,15 +194,15 @@ __meta__ = {
[node name="CenterContainer" type="CenterContainer" parent="PanelWood/VBoxContainer"]
margin_right = 350.0
margin_bottom = 237.0
margin_bottom = 147.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="TextureRect" type="TextureButton" parent="PanelWood/VBoxContainer/CenterContainer"]
margin_left = 111.0
margin_top = 54.0
margin_top = 9.0
margin_right = 239.0
margin_bottom = 182.0
margin_bottom = 137.0
mouse_default_cursor_shape = 2
size_flags_horizontal = 4
size_flags_vertical = 4
@@ -212,9 +212,9 @@ texture_focused = ExtResource( 6 )
stretch_mode = 3
[node name="ButtonPuzzle" type="TextureButton" parent="PanelWood/VBoxContainer"]
margin_top = 267.0
margin_top = 177.0
margin_right = 350.0
margin_bottom = 344.0
margin_bottom = 254.0
mouse_default_cursor_shape = 2
size_flags_horizontal = 0
size_flags_vertical = 0
@@ -241,9 +241,9 @@ __meta__ = {
}
[node name="ButtonSetting" type="TextureButton" parent="PanelWood/VBoxContainer"]
margin_top = 374.0
margin_top = 284.0
margin_right = 350.0
margin_bottom = 451.0
margin_bottom = 361.0
mouse_default_cursor_shape = 2
size_flags_horizontal = 0
size_flags_vertical = 0
@@ -270,15 +270,15 @@ __meta__ = {
}
[node name="MarginContainer" type="MarginContainer" parent="PanelWood/VBoxContainer"]
margin_top = 481.0
margin_top = 391.0
margin_right = 350.0
margin_bottom = 719.0
margin_bottom = 539.0
size_flags_vertical = 3
[node name="ButtonQuit" type="TextureButton" parent="PanelWood/VBoxContainer"]
margin_top = 749.0
margin_top = 569.0
margin_right = 350.0
margin_bottom = 826.0
margin_bottom = 646.0
mouse_default_cursor_shape = 2
size_flags_horizontal = 0
size_flags_vertical = 0
@@ -304,23 +304,23 @@ __meta__ = {
}
[node name="LabelVersion" type="Label" parent="PanelWood/VBoxContainer"]
margin_top = 856.0
margin_top = 676.0
margin_right = 350.0
margin_bottom = 870.0
margin_bottom = 690.0
size_flags_vertical = 0
text = "v XX.XX"
align = 2
[node name="MarginContainerBottom" type="MarginContainer" parent="PanelWood/VBoxContainer"]
margin_top = 900.0
margin_top = 720.0
margin_right = 350.0
margin_bottom = 900.0
margin_bottom = 720.0
size_flags_stretch_ratio = 0.2
[node name="TextureRect" type="TextureRect" parent="."]
margin_left = 350.0
margin_right = 446.0
margin_bottom = 900.0
margin_bottom = 720.0
rect_clip_content = true
size_flags_horizontal = 11
size_flags_vertical = 3
@@ -329,3 +329,5 @@ stretch_mode = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ClickButton" type="AudioStreamPlayer" parent="."]