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

206 lines
7 KiB
Text
Raw Normal View History

2021-04-25 00:44:17 +02:00
[gd_scene load_steps=9 format=2]
2021-04-09 11:52:05 +02:00
2021-04-20 20:24:04 +02:00
[ext_resource path="res://characters/Evelyne/evelyne_satisfaite.png" type="Texture" id=1]
2021-04-09 11:52:05 +02:00
[ext_resource path="res://characters/Patrick/Patrick sans Barbe/Pat_cool.png" type="Texture" id=2]
2021-04-20 20:24:04 +02:00
[ext_resource path="res://characters/Jean-Michel/Jean-Méchant.png" type="Texture" id=3]
2021-04-20 23:47:26 +02:00
[ext_resource path="res://backgrounds/bureauGroupe-1.jpg" type="Texture" id=4]
2021-04-25 00:44:17 +02:00
[ext_resource path="res://styles/Panel.tres" type="StyleBox" id=5]
2021-04-20 11:36:39 +02:00
[ext_resource path="res://fonts/Title.tres" type="DynamicFont" id=6]
2021-04-10 18:29:03 +02:00
[ext_resource path="res://scenes/MainMenu.gd" type="Script" id=7]
2021-04-20 11:36:39 +02:00
[ext_resource path="res://scenes/typo/Button.tscn" type="PackedScene" id=8]
2021-04-09 11:52:05 +02:00
[node name="MainMenu" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
2021-04-10 18:29:03 +02:00
script = ExtResource( 7 )
2021-04-09 11:52:05 +02:00
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Background" type="TextureRect" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
texture = ExtResource( 4 )
2021-04-20 23:47:26 +02:00
expand = true
2021-04-09 11:52:05 +02:00
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
2021-04-09 11:52:05 +02:00
custom_constants/margin_top = 10
custom_constants/margin_left = 100
2021-04-09 11:52:05 +02:00
custom_constants/margin_bottom = 10
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
margin_left = 100.0
2021-04-09 11:52:05 +02:00
margin_top = 10.0
margin_right = 1820.0
2021-04-09 11:52:05 +02:00
margin_bottom = 1070.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Title" type="Label" parent="MarginContainer/VBoxContainer"]
margin_right = 1720.0
2021-04-09 11:52:05 +02:00
margin_bottom = 137.0
2021-04-20 11:36:39 +02:00
custom_fonts/font = ExtResource( 6 )
2021-04-09 11:52:05 +02:00
text = "Serious Game on Ethics"
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
margin_top = 141.0
margin_right = 1720.0
2021-04-09 11:52:05 +02:00
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
2021-04-09 11:52:05 +02:00
margin_bottom = 901.0
2021-04-25 00:44:17 +02:00
__meta__ = {
"_edit_use_anchors_": false
}
2021-04-09 11:52:05 +02:00
2021-04-25 00:44:17 +02:00
[node name="Panel" type="Panel" parent="MarginContainer/VBoxContainer/HBoxContainer/CenterContainer"]
margin_top = 200.0
margin_right = 350.0
2021-04-25 00:44:17 +02:00
margin_bottom = 700.0
rect_min_size = Vector2( 350, 500 )
2021-04-25 00:44:17 +02:00
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
2021-04-25 00:44:17 +02:00
margin_bottom = 480.0
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/VBoxContainer/HBoxContainer/CenterContainer/Panel/MarginContainer/CenterContainer"]
margin_left = 37.0
2021-04-25 00:44:17 +02:00
margin_top = 46.0
margin_right = 272.0
2021-04-25 00:44:17 +02:00
margin_bottom = 414.0
2021-04-09 11:52:05 +02:00
custom_constants/separation = 20
2021-04-25 00:44:17 +02:00
__meta__ = {
"_edit_use_anchors_": false
}
2021-04-09 11:52:05 +02:00
2021-04-25 00:44:17 +02:00
[node name="NewGameButton" parent="MarginContainer/VBoxContainer/HBoxContainer/CenterContainer/Panel/MarginContainer/CenterContainer/VBoxContainer" instance=ExtResource( 8 )]
2021-04-20 11:36:39 +02:00
margin_left = 0.0
margin_top = 0.0
margin_right = 235.0
margin_bottom = 52.0
2021-04-09 11:52:05 +02:00
text = "Nouvelle partie"
2021-04-25 00:44:17 +02:00
[node name="ContinueButton" parent="MarginContainer/VBoxContainer/HBoxContainer/CenterContainer/Panel/MarginContainer/CenterContainer/VBoxContainer" instance=ExtResource( 8 )]
2021-04-20 11:36:39 +02:00
margin_left = 0.0
margin_top = 72.0
margin_right = 235.0
margin_bottom = 124.0
2021-04-09 11:52:05 +02:00
text = "Continuer"
2021-04-25 00:44:17 +02:00
[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/VBoxContainer/HBoxContainer/CenterContainer/Panel/MarginContainer/CenterContainer/VBoxContainer"]
2021-04-20 11:36:39 +02:00
margin_top = 144.0
margin_right = 235.0
margin_bottom = 246.0
custom_constants/margin_top = 50
__meta__ = {
"_edit_use_anchors_": false
}
2021-04-25 00:44:17 +02:00
[node name="CreditsButton" parent="MarginContainer/VBoxContainer/HBoxContainer/CenterContainer/Panel/MarginContainer/CenterContainer/VBoxContainer/MarginContainer" instance=ExtResource( 8 )]
2021-04-20 11:36:39 +02:00
margin_left = 0.0
margin_top = 50.0
margin_right = 235.0
margin_bottom = 102.0
text = "Crédits"
2021-04-25 00:44:17 +02:00
[node name="MarginContainer2" type="MarginContainer" parent="MarginContainer/VBoxContainer/HBoxContainer/CenterContainer/Panel/MarginContainer/CenterContainer/VBoxContainer"]
2021-04-20 11:36:39 +02:00
margin_top = 266.0
margin_right = 235.0
margin_bottom = 368.0
2021-04-09 11:52:05 +02:00
custom_constants/margin_top = 50
__meta__ = {
"_edit_use_anchors_": false
}
2021-04-25 00:44:17 +02:00
[node name="ExitButton" parent="MarginContainer/VBoxContainer/HBoxContainer/CenterContainer/Panel/MarginContainer/CenterContainer/VBoxContainer/MarginContainer2" instance=ExtResource( 8 )]
2021-04-20 11:36:39 +02:00
margin_left = 0.0
2021-04-09 11:52:05 +02:00
margin_top = 50.0
2021-04-20 11:36:39 +02:00
margin_right = 235.0
margin_bottom = 102.0
2021-04-09 11:52:05 +02:00
text = "Quitter"
[node name="Characters" type="Control" parent="MarginContainer/VBoxContainer/HBoxContainer"]
margin_left = 354.0
margin_right = 1720.0
2021-04-09 11:52:05 +02:00
margin_bottom = 901.0
size_flags_horizontal = 3
2021-04-20 20:24:04 +02:00
[node name="Patrick" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer/Characters"]
2021-04-25 00:44:17 +02:00
margin_left = 781.589
margin_top = 144.3
margin_right = 1654.59
margin_bottom = 1974.3
2021-04-20 20:24:04 +02:00
rect_scale = Vector2( 0.5, 0.5 )
texture = ExtResource( 2 )
2021-04-09 11:52:05 +02:00
flip_h = true
__meta__ = {
"_edit_use_anchors_": false
}
2021-04-20 20:24:04 +02:00
[node name="Jean-Michel" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer/Characters"]
2021-04-25 00:44:17 +02:00
margin_left = 314.643
margin_top = 160.015
margin_right = 1187.64
margin_bottom = 1990.01
2021-04-09 11:52:05 +02:00
rect_scale = Vector2( 0.5, 0.5 )
2021-04-20 20:24:04 +02:00
texture = ExtResource( 3 )
2021-04-09 11:52:05 +02:00
flip_h = true
__meta__ = {
"_edit_use_anchors_": false
}
2021-04-20 20:24:04 +02:00
[node name="Evelyne" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer/Characters"]
2021-04-25 00:44:17 +02:00
margin_left = 568.319
margin_top = 162.26
margin_right = 1441.32
margin_bottom = 1992.25
2021-04-09 11:52:05 +02:00
rect_scale = Vector2( 0.5, 0.5 )
2021-04-20 20:24:04 +02:00
texture = ExtResource( 1 )
2021-04-09 11:52:05 +02:00
flip_h = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="MarginContainer/VBoxContainer"]
margin_top = 1046.0
margin_right = 1720.0
2021-04-09 11:52:05 +02:00
margin_bottom = 1060.0
text = "Serious Game on Ethics v0.1"
align = 2
2021-04-25 00:44:17 +02:00
[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"]