2021-01-03 11:05:02 +01:00
|
|
|
[gd_scene load_steps=6 format=2]
|
|
|
|
|
|
|
|
[ext_resource path="res://Menu.gd" type="Script" id=1]
|
|
|
|
|
|
|
|
[sub_resource type="DynamicFontData" id=1]
|
|
|
|
font_path = "res://fonts/Marshmallow.ttf"
|
|
|
|
|
|
|
|
[sub_resource type="DynamicFont" id=2]
|
|
|
|
size = 25
|
|
|
|
font_data = SubResource( 1 )
|
|
|
|
|
|
|
|
[sub_resource type="DynamicFont" id=3]
|
|
|
|
size = 58
|
|
|
|
font_data = SubResource( 1 )
|
|
|
|
|
|
|
|
[sub_resource type="DynamicFont" id=4]
|
|
|
|
size = 50
|
|
|
|
font_data = SubResource( 1 )
|
|
|
|
|
|
|
|
[node name="Menu" type="CanvasLayer"]
|
|
|
|
script = ExtResource( 1 )
|
|
|
|
|
|
|
|
[node name="Menu Principal" type="Node" parent="."]
|
|
|
|
|
2021-01-03 16:54:37 +01:00
|
|
|
[node name="LabelMenuRecord" type="Label" parent="Menu Principal"]
|
|
|
|
margin_left = 200.236
|
|
|
|
margin_top = 464.62
|
|
|
|
margin_right = 332.236
|
|
|
|
margin_bottom = 518.62
|
|
|
|
custom_fonts/font = SubResource( 2 )
|
|
|
|
custom_colors/font_color = Color( 1, 1, 1, 1 )
|
|
|
|
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
|
|
|
|
text = "Record"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="LabelMenuScore" type="Label" parent="Menu Principal"]
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
margin_left = -62.0
|
|
|
|
margin_top = 496.0
|
|
|
|
margin_right = 33.0
|
|
|
|
margin_bottom = 558.0
|
|
|
|
custom_fonts/font = SubResource( 3 )
|
|
|
|
custom_colors/font_color = Color( 1, 1, 1, 1 )
|
|
|
|
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
|
|
|
|
text = "0"
|
|
|
|
align = 1
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="LabelGameRecord" type="Label" parent="Menu Principal"]
|
|
|
|
visible = false
|
2021-01-03 11:05:02 +01:00
|
|
|
margin_left = 217.236
|
|
|
|
margin_top = 18.6199
|
|
|
|
margin_right = 349.236
|
|
|
|
margin_bottom = 72.6199
|
|
|
|
custom_fonts/font = SubResource( 2 )
|
|
|
|
custom_colors/font_color = Color( 1, 1, 1, 1 )
|
|
|
|
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
|
|
|
|
text = "Record"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2021-01-03 16:54:37 +01:00
|
|
|
[node name="LabelGameScore" type="Label" parent="Menu Principal"]
|
|
|
|
visible = false
|
2021-01-03 11:05:02 +01:00
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_right = 0.5
|
2021-01-03 11:43:14 +01:00
|
|
|
margin_left = -45.0
|
|
|
|
margin_top = 50.0
|
|
|
|
margin_right = 50.0
|
|
|
|
margin_bottom = 112.0
|
2021-01-03 11:05:02 +01:00
|
|
|
custom_fonts/font = SubResource( 3 )
|
|
|
|
custom_colors/font_color = Color( 1, 1, 1, 1 )
|
|
|
|
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
|
|
|
|
text = "0"
|
2021-01-03 11:43:14 +01:00
|
|
|
align = 1
|
2021-01-03 11:05:02 +01:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="ButtonStart" type="Button" parent="Menu Principal"]
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 1.0
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
margin_left = -185.0
|
|
|
|
margin_top = -129.0
|
|
|
|
margin_right = 185.0
|
|
|
|
margin_bottom = -69.0
|
|
|
|
custom_fonts/font = SubResource( 4 )
|
|
|
|
text = "Commencer une partie"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="ButtonSettings" type="Button" parent="Menu Principal"]
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 1.0
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
margin_left = -101.0
|
|
|
|
margin_top = -60.0
|
|
|
|
margin_right = 101.0
|
|
|
|
custom_fonts/font = SubResource( 4 )
|
|
|
|
text = "Parametres"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Settings" type="Node" parent="."]
|
|
|
|
|
|
|
|
[node name="ButtonFacile" type="Button" parent="Settings"]
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
margin_left = 50.0
|
|
|
|
margin_top = -240.0
|
|
|
|
margin_right = 152.0
|
|
|
|
margin_bottom = -180.0
|
|
|
|
custom_fonts/font = SubResource( 4 )
|
|
|
|
text = "Facile"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="ButtonNormal" type="Button" parent="Settings"]
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
margin_left = 167.0
|
|
|
|
margin_top = -240.0
|
|
|
|
margin_right = 287.0
|
|
|
|
margin_bottom = -180.0
|
|
|
|
custom_fonts/font = SubResource( 4 )
|
|
|
|
text = "Normal"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="ButtonDifficile" type="Button" parent="Settings"]
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
margin_left = 300.0
|
|
|
|
margin_top = -240.0
|
|
|
|
margin_right = 439.0
|
|
|
|
margin_bottom = -180.0
|
|
|
|
custom_fonts/font = SubResource( 4 )
|
|
|
|
text = "Difficile"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="ButtonBackToMenu" type="Button" parent="Settings"]
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 1.0
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
margin_left = -131.0
|
|
|
|
margin_top = -60.0
|
|
|
|
margin_right = 131.0
|
|
|
|
custom_fonts/font = SubResource( 4 )
|
|
|
|
text = "Retour au menu"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="LabelNiveau" type="Label" parent="Settings"]
|
|
|
|
anchor_right = 1.0
|
|
|
|
margin_top = 50.0
|
|
|
|
margin_bottom = 104.0
|
|
|
|
custom_fonts/font = SubResource( 4 )
|
|
|
|
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
|
|
|
|
text = "Niveau"
|
|
|
|
align = 1
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="LabelMusique" type="Label" parent="Settings"]
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
margin_top = -128.0
|
|
|
|
margin_bottom = -74.0
|
|
|
|
custom_fonts/font = SubResource( 4 )
|
|
|
|
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
|
|
|
|
text = "Musique"
|
|
|
|
align = 1
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="ButtonMusiqueON" type="Button" parent="Settings"]
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
margin_left = 157.766
|
|
|
|
margin_top = -71.0
|
|
|
|
margin_right = 222.766
|
|
|
|
margin_bottom = -11.0
|
|
|
|
custom_fonts/font = SubResource( 4 )
|
|
|
|
text = "ON"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="ButtonMusiqueOFF" type="Button" parent="Settings"]
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
margin_left = 239.0
|
|
|
|
margin_top = -71.0
|
|
|
|
margin_right = 305.0
|
|
|
|
margin_bottom = -11.0
|
|
|
|
custom_fonts/font = SubResource( 4 )
|
|
|
|
text = "OFF"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="TimerMessage" type="Timer" parent="."]
|
|
|
|
wait_time = 2.0
|
|
|
|
one_shot = true
|
|
|
|
|
|
|
|
[node name="LabelMessage" type="Label" parent="."]
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
margin_left = -240.0
|
2021-01-03 16:54:37 +01:00
|
|
|
margin_top = 122.0
|
2021-01-03 11:05:02 +01:00
|
|
|
margin_right = 240.0
|
2021-01-03 16:54:37 +01:00
|
|
|
margin_bottom = 176.0
|
2021-01-03 11:05:02 +01:00
|
|
|
custom_fonts/font = SubResource( 4 )
|
|
|
|
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
|
|
|
|
align = 1
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
[connection signal="pressed" from="Menu Principal/ButtonStart" to="." method="_on_ButtonStart_pressed"]
|
|
|
|
[connection signal="pressed" from="Menu Principal/ButtonSettings" to="." method="_on_ButtonSettings_pressed"]
|
|
|
|
[connection signal="pressed" from="Settings/ButtonFacile" to="." method="_on_ButtonFacile_pressed"]
|
|
|
|
[connection signal="pressed" from="Settings/ButtonNormal" to="." method="_on_ButtonNormal_pressed"]
|
|
|
|
[connection signal="pressed" from="Settings/ButtonDifficile" to="." method="_on_ButtonDifficile_pressed"]
|
|
|
|
[connection signal="pressed" from="Settings/ButtonBackToMenu" to="." method="_on_ButtonBackToMenu_pressed"]
|
|
|
|
[connection signal="pressed" from="Settings/ButtonMusiqueON" to="." method="_on_ButtonMusiqueON_pressed"]
|
|
|
|
[connection signal="pressed" from="Settings/ButtonMusiqueOFF" to="." method="_on_ButtonMusiqueOFF_pressed"]
|
|
|
|
[connection signal="timeout" from="TimerMessage" to="." method="_on_TimerMessage_timeout"]
|