musique menu principal
This commit is contained in:
parent
11c80ef24c
commit
0f92b8084e
2 changed files with 10 additions and 1 deletions
BIN
assets/sounds/menuPrincipal.wav
(Stored with Git LFS)
Normal file
BIN
assets/sounds/menuPrincipal.wav
(Stored with Git LFS)
Normal file
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
[gd_scene load_steps=8 format=2]
|
[gd_scene load_steps=9 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://assets/images/fondMenu.png" type="Texture" id=1]
|
[ext_resource path="res://assets/images/fondMenu.png" type="Texture" id=1]
|
||||||
[ext_resource path="res://assets/images/titreMenu.png" type="Texture" id=2]
|
[ext_resource path="res://assets/images/titreMenu.png" type="Texture" id=2]
|
||||||
|
@ -7,6 +7,7 @@
|
||||||
[ext_resource path="res://assets/images/buttonExitSelected.png" type="Texture" id=5]
|
[ext_resource path="res://assets/images/buttonExitSelected.png" type="Texture" id=5]
|
||||||
[ext_resource path="res://assets/images/buttonExit.png" type="Texture" id=6]
|
[ext_resource path="res://assets/images/buttonExit.png" type="Texture" id=6]
|
||||||
[ext_resource path="res://scripts/menuPrincipal.gd" type="Script" id=7]
|
[ext_resource path="res://scripts/menuPrincipal.gd" type="Script" id=7]
|
||||||
|
[ext_resource path="res://assets/sounds/menuPrincipal.wav" type="AudioStream" id=8]
|
||||||
|
|
||||||
[node name="Menu" type="Node2D"]
|
[node name="Menu" type="Node2D"]
|
||||||
|
|
||||||
|
@ -60,5 +61,10 @@ margin_right = 324.0
|
||||||
margin_bottom = 372.0
|
margin_bottom = 372.0
|
||||||
texture_normal = ExtResource( 6 )
|
texture_normal = ExtResource( 6 )
|
||||||
texture_focused = ExtResource( 5 )
|
texture_focused = ExtResource( 5 )
|
||||||
|
|
||||||
|
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="Principal"]
|
||||||
|
position = Vector2( 512, 300 )
|
||||||
|
stream = ExtResource( 8 )
|
||||||
|
autoplay = true
|
||||||
[connection signal="pressed" from="Principal/MarginContainer/VBoxContainer/VBoxContainer/Jouer" to="Principal" method="_on_Jouer_pressed"]
|
[connection signal="pressed" from="Principal/MarginContainer/VBoxContainer/VBoxContainer/Jouer" to="Principal" method="_on_Jouer_pressed"]
|
||||||
[connection signal="pressed" from="Principal/MarginContainer/VBoxContainer/VBoxContainer/Quitter" to="Principal" method="_on_Quitter_pressed"]
|
[connection signal="pressed" from="Principal/MarginContainer/VBoxContainer/VBoxContainer/Quitter" to="Principal" method="_on_Quitter_pressed"]
|
||||||
|
|
Reference in a new issue