pir-serious-game-ethics/scenes/MainMenu.tscn

170 lines
5.6 KiB
Text

[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/Title.tres" type="DynamicFont" id=6]
[ext_resource path="res://scenes/MainMenu.gd" type="Script" id=7]
[ext_resource path="res://scenes/typo/Button.tscn" type="PackedScene" id=8]
[node name="MainMenu" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 7 )
__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 = ExtResource( 6 )
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 = 235.0
margin_bottom = 901.0
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/VBoxContainer/HBoxContainer/CenterContainer"]
margin_top = 266.0
margin_right = 235.0
margin_bottom = 634.0
custom_constants/separation = 20
[node name="NewGameButton" parent="MarginContainer/VBoxContainer/HBoxContainer/CenterContainer/VBoxContainer" instance=ExtResource( 8 )]
margin_left = 0.0
margin_top = 0.0
margin_right = 235.0
margin_bottom = 52.0
text = "Nouvelle partie"
[node name="ContinueButton" parent="MarginContainer/VBoxContainer/HBoxContainer/CenterContainer/VBoxContainer" instance=ExtResource( 8 )]
margin_left = 0.0
margin_top = 72.0
margin_right = 235.0
margin_bottom = 124.0
text = "Continuer"
[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/VBoxContainer/HBoxContainer/CenterContainer/VBoxContainer"]
margin_top = 144.0
margin_right = 235.0
margin_bottom = 246.0
custom_constants/margin_top = 50
__meta__ = {
"_edit_use_anchors_": false
}
[node name="CreditsButton" parent="MarginContainer/VBoxContainer/HBoxContainer/CenterContainer/VBoxContainer/MarginContainer" instance=ExtResource( 8 )]
margin_left = 0.0
margin_top = 50.0
margin_right = 235.0
margin_bottom = 102.0
text = "Crédits"
[node name="MarginContainer2" type="MarginContainer" parent="MarginContainer/VBoxContainer/HBoxContainer/CenterContainer/VBoxContainer"]
margin_top = 266.0
margin_right = 235.0
margin_bottom = 368.0
custom_constants/margin_top = 50
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ExitButton" parent="MarginContainer/VBoxContainer/HBoxContainer/CenterContainer/VBoxContainer/MarginContainer2" instance=ExtResource( 8 )]
margin_left = 0.0
margin_top = 50.0
margin_right = 235.0
margin_bottom = 102.0
text = "Quitter"
[node name="Characters" type="Control" parent="MarginContainer/VBoxContainer/HBoxContainer"]
margin_left = 239.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
[connection signal="pressed" from="MarginContainer/VBoxContainer/HBoxContainer/CenterContainer/VBoxContainer/NewGameButton" to="." method="_on_NewGameButton_pressed"]
[connection signal="pressed" from="MarginContainer/VBoxContainer/HBoxContainer/CenterContainer/VBoxContainer/ContinueButton" to="." method="_on_ContinueButton_pressed"]
[connection signal="pressed" from="MarginContainer/VBoxContainer/HBoxContainer/CenterContainer/VBoxContainer/MarginContainer/CreditsButton" to="." method="_on_CreditsButton_pressed"]
[connection signal="pressed" from="MarginContainer/VBoxContainer/HBoxContainer/CenterContainer/VBoxContainer/MarginContainer2/ExitButton" to="." method="_on_ExitButton_pressed"]