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

201 lines
6.9 KiB
Text

[gd_scene load_steps=9 format=2]
[ext_resource path="res://characters/Evelyne/evelyne_satisfaite.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-Mechant.png" type="Texture" id=3]
[ext_resource path="res://backgrounds/bureauGroupe-1.jpg" type="Texture" id=4]
[ext_resource path="res://styles/Panel.tres" type="StyleBox" id=5]
[ext_resource path="res://scenes/typo/GameTitle.tscn" type="PackedScene" 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 )
expand = true
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="GameTitle" parent="MarginContainer/VBoxContainer" instance=ExtResource( 6 )]
[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 = 350.0
margin_bottom = 901.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Panel" type="Panel" parent="MarginContainer/VBoxContainer/HBoxContainer/CenterContainer"]
margin_top = 200.0
margin_right = 350.0
margin_bottom = 700.0
rect_min_size = Vector2( 350, 500 )
custom_styles/panel = ExtResource( 5 )
[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/VBoxContainer/HBoxContainer/CenterContainer/Panel"]
anchor_right = 1.0
anchor_bottom = 1.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_constants/margin_right = 20
custom_constants/margin_top = 20
custom_constants/margin_left = 20
custom_constants/margin_bottom = 20
__meta__ = {
"_edit_use_anchors_": false
}
[node name="CenterContainer" type="CenterContainer" parent="MarginContainer/VBoxContainer/HBoxContainer/CenterContainer/Panel/MarginContainer"]
margin_left = 20.0
margin_top = 20.0
margin_right = 330.0
margin_bottom = 480.0
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/VBoxContainer/HBoxContainer/CenterContainer/Panel/MarginContainer/CenterContainer"]
margin_left = 37.0
margin_top = 46.0
margin_right = 272.0
margin_bottom = 414.0
custom_constants/separation = 20
__meta__ = {
"_edit_use_anchors_": false
}
[node name="NewGameButton" parent="MarginContainer/VBoxContainer/HBoxContainer/CenterContainer/Panel/MarginContainer/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/Panel/MarginContainer/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/Panel/MarginContainer/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/Panel/MarginContainer/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/Panel/MarginContainer/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/Panel/MarginContainer/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 = 354.0
margin_right = 1720.0
margin_bottom = 901.0
size_flags_horizontal = 3
[node name="Patrick" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer/Characters"]
margin_left = 781.589
margin_top = 144.3
margin_right = 1654.59
margin_bottom = 1974.3
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 = 314.643
margin_top = 160.015
margin_right = 1187.64
margin_bottom = 1990.01
rect_scale = Vector2( 0.5, 0.5 )
texture = ExtResource( 3 )
flip_h = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Evelyne" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer/Characters"]
margin_left = 568.319
margin_top = 162.26
margin_right = 1441.32
margin_bottom = 1992.25
rect_scale = Vector2( 0.5, 0.5 )
texture = ExtResource( 1 )
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/Panel/MarginContainer/CenterContainer/VBoxContainer/NewGameButton" to="." method="_on_NewGameButton_pressed"]
[connection signal="pressed" from="MarginContainer/VBoxContainer/HBoxContainer/CenterContainer/Panel/MarginContainer/CenterContainer/VBoxContainer/ContinueButton" to="." method="_on_ContinueButton_pressed"]
[connection signal="pressed" from="MarginContainer/VBoxContainer/HBoxContainer/CenterContainer/Panel/MarginContainer/CenterContainer/VBoxContainer/MarginContainer/CreditsButton" to="." method="_on_CreditsButton_pressed"]
[connection signal="pressed" from="MarginContainer/VBoxContainer/HBoxContainer/CenterContainer/Panel/MarginContainer/CenterContainer/VBoxContainer/MarginContainer2/ExitButton" to="." method="_on_ExitButton_pressed"]