This commit is contained in:
2020-11-04 22:34:00 +01:00
parent 056e346a96
commit b64430e10b
14 changed files with 326 additions and 131 deletions

142
Menu.tscn
View File

@@ -32,6 +32,132 @@ custom_constants/shadow_offset_y = 3
custom_constants/shadow_as_outline = 0
text = "Car Racer"
[node name="Options" type="VBoxContainer" parent="."]
visible = false
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -250.169
margin_top = -89.9366
margin_right = 318.831
margin_bottom = 421.063
[node name="TrackSelection" type="HBoxContainer" parent="Options"]
editor/display_folded = true
margin_right = 569.0
margin_bottom = 66.0
custom_constants/separation = 20
[node name="Label" type="Label" parent="Options/TrackSelection"]
margin_right = 326.0
margin_bottom = 66.0
custom_fonts/font = ExtResource( 3 )
text = "Piste de course :"
[node name="LeftArrow" type="Label" parent="Options/TrackSelection"]
margin_left = 346.0
margin_right = 365.0
margin_bottom = 66.0
mouse_filter = 0
custom_fonts/font = ExtResource( 3 )
text = "<"
[node name="Value" type="Label" parent="Options/TrackSelection"]
margin_left = 385.0
margin_right = 495.0
margin_bottom = 66.0
custom_fonts/font = ExtResource( 3 )
text = "Démo"
[node name="RightArrow" type="Label" parent="Options/TrackSelection"]
margin_left = 515.0
margin_right = 534.0
margin_bottom = 66.0
mouse_filter = 0
custom_fonts/font = ExtResource( 3 )
text = ">"
[node name="GameMode" type="HBoxContainer" parent="Options"]
editor/display_folded = true
margin_top = 70.0
margin_right = 569.0
margin_bottom = 136.0
custom_constants/separation = 20
[node name="Label" type="Label" parent="Options/GameMode"]
margin_right = 208.0
margin_bottom = 66.0
custom_fonts/font = ExtResource( 3 )
text = "Difficulté :"
[node name="LeftArrow" type="Label" parent="Options/GameMode"]
margin_left = 228.0
margin_right = 247.0
margin_bottom = 66.0
mouse_filter = 0
custom_fonts/font = ExtResource( 3 )
text = "<"
[node name="Value" type="Label" parent="Options/GameMode"]
margin_left = 267.0
margin_right = 530.0
margin_bottom = 66.0
custom_fonts/font = ExtResource( 3 )
text = "Entraînement"
[node name="RightArrow" type="Label" parent="Options/GameMode"]
margin_left = 550.0
margin_right = 569.0
margin_bottom = 66.0
mouse_filter = 0
custom_fonts/font = ExtResource( 3 )
text = ">"
[node name="InputMode" type="HBoxContainer" parent="Options"]
editor/display_folded = true
margin_top = 140.0
margin_right = 569.0
margin_bottom = 206.0
custom_constants/separation = 20
[node name="Label" type="Label" parent="Options/InputMode"]
margin_right = 235.0
margin_bottom = 66.0
custom_fonts/font = ExtResource( 3 )
text = "Contrôleur :"
[node name="LeftArrow" type="Label" parent="Options/InputMode"]
margin_left = 255.0
margin_right = 274.0
margin_bottom = 66.0
mouse_filter = 0
custom_fonts/font = ExtResource( 3 )
text = "<"
[node name="Value" type="Label" parent="Options/InputMode"]
margin_left = 294.0
margin_right = 417.0
margin_bottom = 66.0
custom_fonts/font = ExtResource( 3 )
text = "Souris"
[node name="RightArrow" type="Label" parent="Options/InputMode"]
margin_left = 437.0
margin_right = 456.0
margin_bottom = 66.0
mouse_filter = 0
custom_fonts/font = ExtResource( 3 )
text = ">"
[node name="Return" type="Label" parent="Options"]
margin_top = 210.0
margin_right = 569.0
margin_bottom = 276.0
mouse_filter = 0
custom_fonts/font = ExtResource( 3 )
text = "Retour"
[node name="Main" type="VBoxContainer" parent="."]
anchor_left = 0.5
anchor_top = 0.5
@@ -82,19 +208,3 @@ custom_constants/shadow_offset_x = 2
custom_constants/shadow_offset_y = 3
text = "Quitter"
align = 1
[node name="Options" type="VBoxContainer" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -20.0
margin_top = -20.0
margin_right = 20.0
margin_bottom = 20.0
[connection signal="mouse_entered" from="Main/Jouer" to="." method="_on_Jouer_mouse_entered"]
[connection signal="mouse_exited" from="Main/Jouer" to="." method="_on_Jouer_mouse_exited"]
[connection signal="mouse_entered" from="Main/Options" to="." method="_on_Options_mouse_entered"]
[connection signal="mouse_exited" from="Main/Options" to="." method="_on_Options_mouse_exited"]
[connection signal="mouse_entered" from="Main/Quitter" to="." method="_on_Quitter_mouse_entered"]
[connection signal="mouse_exited" from="Main/Quitter" to="." method="_on_Quitter_mouse_exited"]