[gd_scene load_steps=18 format=2]

[ext_resource path="res://scenes/end-screen/EndRecap.gd" type="Script" id=1]
[ext_resource path="res://backgrounds/bureauGroupe-1.jpg" type="Texture" id=2]
[ext_resource path="res://fonts/open-sans/OpenSans-ExtraBold.ttf" type="DynamicFontData" id=3]
[ext_resource path="res://scenes/typo/Button.tscn" type="PackedScene" id=4]
[ext_resource path="res://characters/Jean-Michel/Jean-Michel_bien_joue_petit.png" type="Texture" id=5]
[ext_resource path="res://scenes/end-screen/EndCharacter.tscn" type="PackedScene" id=6]
[ext_resource path="res://scenes/end-screen/ChoiceCircle.tscn" type="PackedScene" id=7]
[ext_resource path="res://scenes/end-screen/AnimatedProgress.tscn" type="PackedScene" id=8]
[ext_resource path="res://scenes/end-screen/GaugeProgress.tscn" type="PackedScene" id=9]
[ext_resource path="res://fonts/open-sans/OpenSans-Regular.ttf" type="DynamicFontData" id=10]
[ext_resource path="res://characters/Evelyne/evelyne_satisfaite.png" type="Texture" id=11]
[ext_resource path="res://characters/Evelyne/evelyne_neutre.png" type="Texture" id=12]
[ext_resource path="res://characters/Jean-Michel/Jean-Michel_narquois.png" type="Texture" id=13]

[sub_resource type="DynamicFont" id=1]
size = 80
outline_size = 5
outline_color = Color( 0.384314, 0.380392, 0.380392, 1 )
font_data = ExtResource( 3 )

[sub_resource type="DynamicFont" id=2]
size = 50
outline_size = 3
outline_color = Color( 0.384314, 0.380392, 0.380392, 1 )
font_data = ExtResource( 3 )

[sub_resource type="StyleBoxFlat" id=3]
content_margin_left = 0.0
content_margin_right = 0.0
content_margin_top = 0.0
content_margin_bottom = 0.0
bg_color = Color( 0.160784, 0.152941, 0.180392, 1 )
border_width_left = 4
border_width_top = 4
border_width_right = 4
border_width_bottom = 4
corner_radius_top_left = 10
corner_radius_top_right = 10
corner_radius_bottom_right = 10
corner_radius_bottom_left = 10
shadow_color = Color( 0, 0, 0, 0.392157 )
shadow_size = 40
shadow_offset = Vector2( 10, 10 )

[sub_resource type="DynamicFont" id=4]
size = 30
outline_size = 2
outline_color = Color( 0.384314, 0.380392, 0.380392, 1 )
font_data = ExtResource( 10 )

[node name="EndRecap" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Background" type="TextureRect" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
texture = ExtResource( 2 )
expand = true
stretch_mode = 7
__meta__ = {
"_edit_use_anchors_": false
}

[node name="VBoxContainer" type="VBoxContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="EndLabel" type="Label" parent="VBoxContainer"]
margin_right = 1920.0
margin_bottom = 110.0
custom_fonts/font = SubResource( 1 )
text = "FIN"
align = 1

[node name="TitleLabel" type="Label" parent="VBoxContainer"]
margin_top = 114.0
margin_right = 1920.0
margin_bottom = 183.0
custom_fonts/font = SubResource( 2 )
text = "Serious Game on Ethics"
align = 1

[node name="Control" type="Control" parent="VBoxContainer"]
margin_top = 187.0
margin_right = 1920.0
margin_bottom = 846.0
mouse_filter = 1
size_flags_vertical = 3

[node name="RecapContainer" type="HBoxContainer" parent="VBoxContainer/Control"]
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
size_flags_vertical = 3
__meta__ = {
"_edit_use_anchors_": false
}

[node name="SpacerLeft" type="Control" parent="VBoxContainer/Control/RecapContainer"]
margin_right = 400.0
margin_bottom = 659.0
rect_min_size = Vector2( 400, 0 )
mouse_filter = 2

[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/Control/RecapContainer"]
margin_left = 404.0
margin_right = 1516.0
margin_bottom = 659.0
mouse_filter = 1
size_flags_horizontal = 3
custom_constants/margin_right = 100
custom_constants/margin_top = 50
custom_constants/margin_left = 100
custom_constants/margin_bottom = 50

[node name="Panel" type="Panel" parent="VBoxContainer/Control/RecapContainer/MarginContainer"]
margin_left = 100.0
margin_top = 50.0
margin_right = 1012.0
margin_bottom = 609.0
mouse_filter = 1
size_flags_horizontal = 3
custom_styles/panel = SubResource( 3 )

[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/Control/RecapContainer/MarginContainer/Panel"]
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 1
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="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/Control/RecapContainer/MarginContainer/Panel/MarginContainer"]
margin_left = 20.0
margin_top = 20.0
margin_right = 892.0
margin_bottom = 539.0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Label" type="Label" parent="VBoxContainer/Control/RecapContainer/MarginContainer/Panel/MarginContainer/VBoxContainer"]
margin_right = 872.0
margin_bottom = 42.0
custom_fonts/font = SubResource( 4 )
text = "Récapitulatif"
align = 1

[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/Control/RecapContainer/MarginContainer/Panel/MarginContainer/VBoxContainer"]
margin_top = 46.0
margin_right = 872.0
margin_bottom = 463.0
mouse_filter = 1
size_flags_vertical = 3
custom_constants/margin_top = 40
custom_constants/margin_bottom = 40

[node name="GaugesContainer" type="HBoxContainer" parent="VBoxContainer/Control/RecapContainer/MarginContainer/Panel/MarginContainer/VBoxContainer/MarginContainer"]
margin_top = 40.0
margin_right = 872.0
margin_bottom = 377.0
size_flags_vertical = 3
alignment = 1

[node name="WorkProgress" parent="VBoxContainer/Control/RecapContainer/MarginContainer/Panel/MarginContainer/VBoxContainer/MarginContainer/GaugesContainer" instance=ExtResource( 9 )]
margin_left = 128.0
margin_right = 248.0
margin_bottom = 337.0
gauge_name = "Travail"
gauge_description = "ceci est un test"
gauge_color = Color( 0.576471, 0.345098, 0.313726, 1 )

[node name="EducationProgress" parent="VBoxContainer/Control/RecapContainer/MarginContainer/Panel/MarginContainer/VBoxContainer/MarginContainer/GaugesContainer" instance=ExtResource( 9 )]
margin_left = 252.0
margin_right = 372.0
margin_bottom = 337.0
gauge_name = "Éducation"
gauge_color = Color( 0.0627451, 0.764706, 0.933333, 1 )

[node name="FinancesProgress" parent="VBoxContainer/Control/RecapContainer/MarginContainer/Panel/MarginContainer/VBoxContainer/MarginContainer/GaugesContainer" instance=ExtResource( 9 )]
margin_left = 376.0
margin_right = 496.0
margin_bottom = 337.0
gauge_name = "Finances"
gauge_color = Color( 0.996078, 0.403922, 0.2, 1 )

[node name="EcologyProgress" parent="VBoxContainer/Control/RecapContainer/MarginContainer/Panel/MarginContainer/VBoxContainer/MarginContainer/GaugesContainer" instance=ExtResource( 9 )]
margin_left = 500.0
margin_right = 620.0
margin_bottom = 337.0
gauge_name = "Écologie"
gauge_color = Color( 0.984314, 0.752941, 0.156863, 1 )

[node name="SocialProgress" parent="VBoxContainer/Control/RecapContainer/MarginContainer/Panel/MarginContainer/VBoxContainer/MarginContainer/GaugesContainer" instance=ExtResource( 9 )]
margin_left = 624.0
margin_right = 744.0
margin_bottom = 337.0
gauge_name = "Social"
gauge_color = Color( 0.839216, 0.556863, 0.192157, 1 )

[node name="CenterContainer" type="CenterContainer" parent="VBoxContainer/Control/RecapContainer/MarginContainer/Panel/MarginContainer/VBoxContainer"]
margin_top = 467.0
margin_right = 872.0
margin_bottom = 519.0

[node name="ExitButton" parent="VBoxContainer/Control/RecapContainer/MarginContainer/Panel/MarginContainer/VBoxContainer/CenterContainer" instance=ExtResource( 4 )]
margin_left = 269.0
margin_top = 0.0
margin_right = 603.0
margin_bottom = 52.0
text = "Sauvegarder et quitter"

[node name="SpacerRight" type="Control" parent="VBoxContainer/Control/RecapContainer"]
margin_left = 1520.0
margin_right = 1920.0
margin_bottom = 659.0
rect_min_size = Vector2( 400, 0 )
mouse_filter = 2
__meta__ = {
"_edit_use_anchors_": false
}

[node name="CharactersContainer" type="HBoxContainer" parent="VBoxContainer/Control"]
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Evelyne" parent="VBoxContainer/Control/CharactersContainer" instance=ExtResource( 6 )]
title = "Evelyne"
description = "Elle est cool"
texture_normal = ExtResource( 12 )
texture_hover = ExtResource( 11 )

[node name="Spacer" type="Control" parent="VBoxContainer/Control/CharactersContainer"]
margin_left = 404.0
margin_right = 1516.0
margin_bottom = 659.0
mouse_filter = 2
size_flags_horizontal = 3
__meta__ = {
"_edit_use_anchors_": false
}

[node name="JM" parent="VBoxContainer/Control/CharactersContainer" instance=ExtResource( 6 )]
margin_left = 1520.0
margin_right = 1920.0
title = "Jen-Michel"
description = "il est méchant"
texture_normal = ExtResource( 13 )
texture_hover = ExtResource( 5 )
is_left = false

[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer"]
margin_top = 850.0
margin_right = 1920.0
margin_bottom = 1080.0

[node name="ColorRect" type="ColorRect" parent="VBoxContainer/MarginContainer"]
margin_right = 1920.0
margin_bottom = 230.0
color = Color( 0, 0, 0, 0.478431 )

[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/MarginContainer"]
margin_right = 1920.0
margin_bottom = 230.0
custom_constants/margin_right = 220
custom_constants/margin_top = 20
custom_constants/margin_left = 220
custom_constants/margin_bottom = 10

[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/MarginContainer/MarginContainer"]
margin_left = 220.0
margin_top = 20.0
margin_right = 1700.0
margin_bottom = 220.0
custom_constants/margin_right = 75
custom_constants/margin_top = 70
custom_constants/margin_left = 75
custom_constants/margin_bottom = 70

[node name="AnimatedProgress" parent="VBoxContainer/MarginContainer/MarginContainer/MarginContainer" instance=ExtResource( 8 )]
anchor_right = 0.0
margin_left = 75.0
margin_top = 70.0
margin_right = 1405.0
margin_bottom = 130.0
size_flags_horizontal = 3
size_flags_vertical = 3

[node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer/MarginContainer/MarginContainer"]
margin_left = 220.0
margin_top = 20.0
margin_right = 1700.0
margin_bottom = 220.0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="ChoiceCircle" parent="VBoxContainer/MarginContainer/MarginContainer/HBoxContainer2" instance=ExtResource( 7 )]
margin_left = 0.0
margin_top = 0.0
margin_right = 150.0
margin_bottom = 200.0
rect_rotation = 0.0
choice_name = "Choice 1"
dilemma_name = "Dilemma 1"

[node name="Spacer" type="Control" parent="VBoxContainer/MarginContainer/MarginContainer/HBoxContainer2"]
margin_left = 154.0
margin_right = 661.0
margin_bottom = 200.0
size_flags_horizontal = 3

[node name="ChoiceCircle2" parent="VBoxContainer/MarginContainer/MarginContainer/HBoxContainer2" instance=ExtResource( 7 )]
margin_left = 665.0
margin_top = 0.0
margin_right = 815.0
margin_bottom = 200.0
rect_rotation = 0.0
choice_name = "Choice 2"
dilemma_name = "Dilemma 2"
deferred_show = 0.3

[node name="Spacer2" type="Control" parent="VBoxContainer/MarginContainer/MarginContainer/HBoxContainer2"]
margin_left = 819.0
margin_right = 1326.0
margin_bottom = 200.0
size_flags_horizontal = 3

[node name="ChoiceCircle3" parent="VBoxContainer/MarginContainer/MarginContainer/HBoxContainer2" instance=ExtResource( 7 )]
margin_left = 1330.0
margin_top = 0.0
margin_right = 1480.0
margin_bottom = 200.0
rect_rotation = 0.0
choice_name = "Choice 3"
dilemma_name = "Dilemma 2"
deferred_show = 0.7

[node name="GaugesTimer" type="Timer" parent="."]
wait_time = 0.5
[connection signal="pressed" from="VBoxContainer/Control/RecapContainer/MarginContainer/Panel/MarginContainer/VBoxContainer/CenterContainer/ExitButton" to="." method="_on_ExitButton_pressed"]
[connection signal="timeout" from="GaugesTimer" to="." method="_on_GaugesTimer_timeout"]
