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

172 lines
5.6 KiB
Text
Raw Normal View History

2021-04-20 11:36:39 +02:00
[gd_scene load_steps=8 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-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
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
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
margin_bottom = 1042.0
size_flags_vertical = 3
__meta__ = {
"_edit_use_anchors_": false
}
[node name="CenterContainer" type="CenterContainer" parent="MarginContainer/VBoxContainer/HBoxContainer"]
2021-04-20 11:36:39 +02:00
margin_right = 235.0
2021-04-09 11:52:05 +02:00
margin_bottom = 901.0
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/VBoxContainer/HBoxContainer/CenterContainer"]
2021-04-20 11:36:39 +02:00
margin_top = 266.0
margin_right = 235.0
margin_bottom = 634.0
2021-04-09 11:52:05 +02:00
custom_constants/separation = 20
2021-04-20 11:36:39 +02:00
[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
2021-04-09 11:52:05 +02:00
text = "Nouvelle partie"
2021-04-20 11:36:39 +02:00
[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
2021-04-09 11:52:05 +02:00
text = "Continuer"
[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/VBoxContainer/HBoxContainer/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
}
[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
2021-04-09 11:52:05 +02:00
custom_constants/margin_top = 50
__meta__ = {
"_edit_use_anchors_": false
}
2021-04-20 11:36:39 +02:00
[node name="ExitButton" parent="MarginContainer/VBoxContainer/HBoxContainer/CenterContainer/VBoxContainer/MarginContainer2" instance=ExtResource( 8 )]
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"]
2021-04-20 11:36:39 +02:00
margin_left = 239.0
2021-04-09 11:52:05 +02:00
margin_right = 1720.0
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"]
margin_left = 1059.96
margin_top = 157.77
margin_right = 1932.96
margin_bottom = 1987.77
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"]
margin_left = 593.014
margin_top = 173.485
margin_right = 1466.01
margin_bottom = 2003.48
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"]
margin_left = 846.69
margin_top = 175.73
margin_right = 1719.69
margin_bottom = 2005.72
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
margin_bottom = 1060.0
text = "Serious Game on Ethics v0.1"
align = 2
2021-04-10 18:29:03 +02:00
[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"]
2021-04-20 11:36:39 +02:00
[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"]