diff --git a/scenes/MainMenu.tscn b/scenes/MainMenu.tscn new file mode 100644 index 0000000..01dd1ed --- /dev/null +++ b/scenes/MainMenu.tscn @@ -0,0 +1,156 @@ +[gd_scene load_steps=8 format=2] + +[ext_resource path="res://characters/Evelyne/evelyne.png" type="Texture" id=1] +[ext_resource path="res://characters/Patrick/Patrick sans Barbe/Pat_cool.png" type="Texture" id=2] +[ext_resource path="res://characters/Jean-Michel/Jean-Michel.png" type="Texture" id=3] +[ext_resource path="res://backgrounds/bureauGroupe-2.jpg" type="Texture" id=4] +[ext_resource path="res://fonts/ButtonFont.tres" type="DynamicFont" id=5] +[ext_resource path="res://fonts/open-sans/OpenSans-Bold.ttf" type="DynamicFontData" id=6] + +[sub_resource type="DynamicFont" id=1] +size = 100 +outline_size = 5 +outline_color = Color( 0.384314, 0.380392, 0.380392, 1 ) +font_data = ExtResource( 6 ) + +[node name="MainMenu" type="Control"] +anchor_right = 1.0 +anchor_bottom = 1.0 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Background" type="TextureRect" parent="."] +anchor_right = 1.0 +anchor_bottom = 1.0 +texture = ExtResource( 4 ) +stretch_mode = 7 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="MarginContainer" type="MarginContainer" parent="."] +anchor_right = 1.0 +anchor_bottom = 1.0 +custom_constants/margin_right = 100 +custom_constants/margin_top = 10 +custom_constants/margin_left = 100 +custom_constants/margin_bottom = 10 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"] +margin_left = 100.0 +margin_top = 10.0 +margin_right = 1820.0 +margin_bottom = 1070.0 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Title" type="Label" parent="MarginContainer/VBoxContainer"] +margin_right = 1720.0 +margin_bottom = 137.0 +custom_fonts/font = SubResource( 1 ) +text = "Serious Game on Ethics" + +[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer"] +margin_top = 141.0 +margin_right = 1720.0 +margin_bottom = 1042.0 +size_flags_vertical = 3 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="CenterContainer" type="CenterContainer" parent="MarginContainer/VBoxContainer/HBoxContainer"] +margin_right = 227.0 +margin_bottom = 901.0 + +[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/VBoxContainer/HBoxContainer/CenterContainer"] +margin_top = 333.0 +margin_right = 227.0 +margin_bottom = 567.0 +custom_constants/separation = 20 + +[node name="NewGameButton" type="Button" parent="MarginContainer/VBoxContainer/HBoxContainer/CenterContainer/VBoxContainer"] +margin_right = 227.0 +margin_bottom = 48.0 +custom_fonts/font = ExtResource( 5 ) +text = "Nouvelle partie" +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="ContinueButton" type="Button" parent="MarginContainer/VBoxContainer/HBoxContainer/CenterContainer/VBoxContainer"] +margin_top = 68.0 +margin_right = 227.0 +margin_bottom = 116.0 +custom_fonts/font = ExtResource( 5 ) +text = "Continuer" + +[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/VBoxContainer/HBoxContainer/CenterContainer/VBoxContainer"] +margin_top = 136.0 +margin_right = 227.0 +margin_bottom = 234.0 +custom_constants/margin_top = 50 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="ExitButton" type="Button" parent="MarginContainer/VBoxContainer/HBoxContainer/CenterContainer/VBoxContainer/MarginContainer"] +margin_top = 50.0 +margin_right = 227.0 +margin_bottom = 98.0 +custom_fonts/font = ExtResource( 5 ) +text = "Quitter" + +[node name="Characters" type="Control" parent="MarginContainer/VBoxContainer/HBoxContainer"] +margin_left = 231.0 +margin_right = 1720.0 +margin_bottom = 901.0 +size_flags_horizontal = 3 + +[node name="Evelyne" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer/Characters"] +margin_left = 552.831 +margin_top = 218.722 +margin_right = 1401.83 +margin_bottom = 2048.72 +rect_scale = Vector2( 0.4, 0.4 ) +texture = ExtResource( 1 ) +flip_h = true +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Patrick" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer/Characters"] +margin_left = 1079.9 +margin_top = 175.121 +margin_right = 1928.9 +margin_bottom = 2005.12 +rect_scale = Vector2( 0.5, 0.5 ) +texture = ExtResource( 2 ) +flip_h = true +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Jean-Michel" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer/Characters"] +margin_left = 761.383 +margin_top = 164.505 +margin_right = 1634.38 +margin_bottom = 1994.5 +rect_scale = Vector2( 0.5, 0.5 ) +texture = ExtResource( 3 ) +flip_h = true +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Label" type="Label" parent="MarginContainer/VBoxContainer"] +margin_top = 1046.0 +margin_right = 1720.0 +margin_bottom = 1060.0 +text = "Serious Game on Ethics v0.1" +align = 2