[gd_scene load_steps=16 format=2] [ext_resource path="res://scenes/GUI/Settings/Settings.gd" type="Script" id=1] [ext_resource path="res://assets/GUI/fonts/ryzom.ttf" type="DynamicFontData" id=2] [ext_resource path="res://addons/input_map_button/input_map_button_node.gd" type="Script" id=3] [ext_resource path="res://addons/input_map_button/icon.png" type="Texture" id=4] [ext_resource path="res://scenes/GUI/Settings/MenuButton.gd" type="Script" id=5] [ext_resource path="res://scenes/GUI/MusicControls/MusicControls.tscn" type="PackedScene" id=6] [sub_resource type="DynamicFont" id=1] size = 14 extra_spacing_top = 8 extra_spacing_bottom = 8 font_data = ExtResource( 2 ) [sub_resource type="Theme" id=2] default_font = SubResource( 1 ) [sub_resource type="DynamicFont" id=3] size = 42 font_data = ExtResource( 2 ) [sub_resource type="StyleBoxFlat" id=4] content_margin_left = 8.0 content_margin_right = 8.0 content_margin_top = 8.0 content_margin_bottom = 8.0 bg_color = Color( 0.247059, 0.235294, 0.278431, 0.752941 ) corner_radius_top_left = 8 corner_radius_top_right = 8 [sub_resource type="StyleBoxFlat" id=5] content_margin_left = 8.0 content_margin_right = 8.0 content_margin_top = 8.0 content_margin_bottom = 8.0 bg_color = Color( 0.172549, 0.164706, 0.196078, 0.752941 ) corner_radius_top_left = 8 corner_radius_top_right = 8 [sub_resource type="StyleBoxFlat" id=6] bg_color = Color( 0.258824, 0.25098, 0.282353, 0.752941 ) corner_radius_top_left = 8 corner_radius_top_right = 8 corner_radius_bottom_right = 8 corner_radius_bottom_left = 8 [sub_resource type="StyleBoxLine" id=7] [sub_resource type="StyleBoxLine" id=8] thickness = 2 vertical = true [sub_resource type="DynamicFont" id=9] size = 32 font_data = ExtResource( 2 ) [node name="Settings" type="MarginContainer"] anchor_right = 1.0 anchor_bottom = 1.0 custom_constants/margin_right = 0 custom_constants/margin_top = 0 custom_constants/margin_left = 0 custom_constants/margin_bottom = 0 script = ExtResource( 1 ) [node name="Menus" type="VBoxContainer" parent="."] margin_right = 1280.0 margin_bottom = 720.0 theme = SubResource( 2 ) [node name="MenuTitle" type="Label" parent="Menus"] margin_right = 1280.0 margin_bottom = 49.0 size_flags_horizontal = 3 size_flags_vertical = 1 custom_fonts/font = SubResource( 3 ) text = "Settings" align = 1 [node name="TabContainer" type="TabContainer" parent="Menus"] margin_top = 53.0 margin_right = 1280.0 margin_bottom = 672.0 rect_min_size = Vector2( 0, 64 ) size_flags_vertical = 3 custom_styles/tab_fg = SubResource( 4 ) custom_styles/tab_bg = SubResource( 5 ) custom_styles/panel = SubResource( 6 ) [node name="Display" type="MarginContainer" parent="Menus/TabContainer"] editor/display_folded = true anchor_right = 1.0 anchor_bottom = 1.0 margin_top = 49.0 custom_constants/margin_right = 42 custom_constants/margin_top = 42 custom_constants/margin_left = 42 custom_constants/margin_bottom = 42 [node name="ScrollContainer" type="ScrollContainer" parent="Menus/TabContainer/Display"] margin_left = 42.0 margin_top = 42.0 margin_right = 1238.0 margin_bottom = 528.0 [node name="VBoxContainer" type="VBoxContainer" parent="Menus/TabContainer/Display/ScrollContainer"] margin_right = 1196.0 margin_bottom = 239.0 size_flags_horizontal = 7 size_flags_vertical = 2 custom_constants/separation = 8 [node name="Fullscreen" type="HBoxContainer" parent="Menus/TabContainer/Display/ScrollContainer/VBoxContainer"] editor/display_folded = true margin_right = 1196.0 margin_bottom = 41.0 [node name="Label" type="Label" parent="Menus/TabContainer/Display/ScrollContainer/VBoxContainer/Fullscreen"] margin_left = 523.0 margin_top = 4.0 margin_right = 596.0 margin_bottom = 37.0 size_flags_horizontal = 10 text = "Fullscreen" [node name="CheckBox" type="CheckBox" parent="Menus/TabContainer/Display/ScrollContainer/VBoxContainer/Fullscreen"] margin_left = 600.0 margin_right = 624.0 margin_bottom = 41.0 size_flags_horizontal = 2 [node name="Borderless" type="HBoxContainer" parent="Menus/TabContainer/Display/ScrollContainer/VBoxContainer"] margin_top = 49.0 margin_right = 1196.0 margin_bottom = 90.0 [node name="Label" type="Label" parent="Menus/TabContainer/Display/ScrollContainer/VBoxContainer/Borderless"] margin_left = 520.0 margin_top = 4.0 margin_right = 596.0 margin_bottom = 37.0 size_flags_horizontal = 10 text = "Borderless" [node name="CheckBox" type="CheckBox" parent="Menus/TabContainer/Display/ScrollContainer/VBoxContainer/Borderless"] margin_left = 600.0 margin_right = 624.0 margin_bottom = 41.0 size_flags_horizontal = 2 [node name="Resizable" type="HBoxContainer" parent="Menus/TabContainer/Display/ScrollContainer/VBoxContainer"] editor/display_folded = true margin_top = 98.0 margin_right = 1196.0 margin_bottom = 139.0 [node name="Label" type="Label" parent="Menus/TabContainer/Display/ScrollContainer/VBoxContainer/Resizable"] margin_left = 528.0 margin_top = 4.0 margin_right = 596.0 margin_bottom = 37.0 size_flags_horizontal = 10 text = "Resizable" [node name="CheckBox" type="CheckBox" parent="Menus/TabContainer/Display/ScrollContainer/VBoxContainer/Resizable"] margin_left = 600.0 margin_right = 624.0 margin_bottom = 41.0 size_flags_horizontal = 2 [node name="AlwaysOnTop" type="HBoxContainer" parent="Menus/TabContainer/Display/ScrollContainer/VBoxContainer"] margin_top = 147.0 margin_right = 1196.0 margin_bottom = 188.0 [node name="Label" type="Label" parent="Menus/TabContainer/Display/ScrollContainer/VBoxContainer/AlwaysOnTop"] margin_left = 494.0 margin_top = 4.0 margin_right = 596.0 margin_bottom = 37.0 size_flags_horizontal = 10 text = "Always on top." [node name="CheckBox" type="CheckBox" parent="Menus/TabContainer/Display/ScrollContainer/VBoxContainer/AlwaysOnTop"] margin_left = 600.0 margin_right = 624.0 margin_bottom = 41.0 size_flags_horizontal = 2 disabled = true [node name="CurrentScreen" type="HBoxContainer" parent="Menus/TabContainer/Display/ScrollContainer/VBoxContainer"] margin_top = 196.0 margin_right = 1196.0 margin_bottom = 239.0 [node name="Label" type="Label" parent="Menus/TabContainer/Display/ScrollContainer/VBoxContainer/CurrentScreen"] margin_left = 486.0 margin_top = 5.0 margin_right = 596.0 margin_bottom = 38.0 size_flags_horizontal = 10 text = "Current screen." [node name="SpinBox" type="SpinBox" parent="Menus/TabContainer/Display/ScrollContainer/VBoxContainer/CurrentScreen"] margin_left = 600.0 margin_right = 674.0 margin_bottom = 43.0 size_flags_horizontal = 2 [node name="Controles" type="VBoxContainer" parent="Menus/TabContainer"] visible = false anchor_right = 1.0 anchor_bottom = 1.0 margin_top = 49.0 mouse_filter = 0 [node name="ScrollContainer" type="ScrollContainer" parent="Menus/TabContainer/Controles"] margin_right = 1024.0 margin_bottom = 450.0 size_flags_horizontal = 3 size_flags_vertical = 3 [node name="TabContainer" type="TabContainer" parent="Menus/TabContainer/Controles/ScrollContainer"] margin_right = 1024.0 margin_bottom = 450.0 size_flags_horizontal = 3 size_flags_vertical = 3 custom_styles/tab_fg = SubResource( 4 ) custom_styles/tab_bg = SubResource( 5 ) custom_styles/panel = SubResource( 7 ) custom_constants/top_margin = 0 custom_constants/side_margin = 0 [node name="Jeu" type="VBoxContainer" parent="Menus/TabContainer/Controles/ScrollContainer/TabContainer"] anchor_right = 1.0 anchor_bottom = 1.0 margin_left = 1.0 margin_top = 50.0 margin_right = -1.0 margin_bottom = -1.0 [node name="game_flashlight" type="HBoxContainer" parent="Menus/TabContainer/Controles/ScrollContainer/TabContainer/Jeu"] margin_right = 1022.0 margin_bottom = 39.0 script = ExtResource( 3 ) __meta__ = { "_editor_icon": ExtResource( 4 ) } description = "Active/désactive la lampe torche." config_file = "user://input.cfg" default_keyboard = null default_keyboard_alt = null default_joypad = null [node name="hide_char" type="HBoxContainer" parent="Menus/TabContainer/Controles/ScrollContainer/TabContainer/Jeu"] margin_top = 43.0 margin_right = 1022.0 margin_bottom = 82.0 script = ExtResource( 3 ) __meta__ = { "_editor_icon": ExtResource( 4 ) } description = "Affiche/cache le personnage." config_file = "user://input.cfg" default_keyboard = null default_keyboard_alt = null default_joypad = null [node name="Interface" type="VBoxContainer" parent="Menus/TabContainer/Controles/ScrollContainer/TabContainer"] visible = false anchor_right = 1.0 anchor_bottom = 1.0 margin_left = 1.0 margin_top = 50.0 margin_right = -1.0 margin_bottom = -1.0 hint_tooltip = "Interface." [node name="Header" type="HBoxContainer" parent="Menus/TabContainer/Controles/ScrollContainer/TabContainer/Interface"] editor/display_folded = true margin_right = 1022.0 margin_bottom = 38.0 [node name="TitleDescription" type="Label" parent="Menus/TabContainer/Controles/ScrollContainer/TabContainer/Interface/Header"] margin_right = 338.0 margin_bottom = 38.0 size_flags_horizontal = 3 text = "Description" align = 2 [node name="TitleKeyboard" type="Label" parent="Menus/TabContainer/Controles/ScrollContainer/TabContainer/Interface/Header"] margin_left = 342.0 margin_right = 680.0 margin_bottom = 38.0 size_flags_horizontal = 3 text = "Clavier" align = 1 [node name="TitleJoypad" type="Label" parent="Menus/TabContainer/Controles/ScrollContainer/TabContainer/Interface/Header"] margin_left = 684.0 margin_right = 1022.0 margin_bottom = 38.0 size_flags_horizontal = 3 text = "Joypad" align = 1 [node name="ui_test" type="HBoxContainer" parent="Menus/TabContainer/Controles/ScrollContainer/TabContainer/Interface"] margin_top = 42.0 margin_right = 1022.0 margin_bottom = 86.0 script = ExtResource( 3 ) __meta__ = { "_editor_icon": ExtResource( 4 ) } description = "Test." config_file = "user://input.cfg" default_keyboard = null default_keyboard_alt = null default_joypad = null [node name="ui_pause" type="HBoxContainer" parent="Menus/TabContainer/Controles/ScrollContainer/TabContainer/Interface"] margin_top = 90.0 margin_right = 1022.0 margin_bottom = 134.0 script = ExtResource( 3 ) __meta__ = { "_editor_icon": ExtResource( 4 ) } description = "Play/Pause." config_file = "user://input.cfg" default_keyboard = null default_keyboard_alt = null default_joypad = null [node name="ui_reload" type="HBoxContainer" parent="Menus/TabContainer/Controles/ScrollContainer/TabContainer/Interface"] margin_top = 138.0 margin_right = 1022.0 margin_bottom = 182.0 script = ExtResource( 3 ) __meta__ = { "_editor_icon": ExtResource( 4 ) } description = "Recharger la scène." config_file = "user://input.cfg" default_keyboard = null default_keyboard_alt = null default_joypad = null [node name="ui_free_cursor" type="HBoxContainer" parent="Menus/TabContainer/Controles/ScrollContainer/TabContainer/Interface"] margin_top = 186.0 margin_right = 1022.0 margin_bottom = 230.0 script = ExtResource( 3 ) __meta__ = { "_editor_icon": ExtResource( 4 ) } description = "Libéré/capturer le curseur." config_file = "user://input.cfg" default_keyboard = null default_keyboard_alt = null default_joypad = null [node name="ui_quit" type="HBoxContainer" parent="Menus/TabContainer/Controles/ScrollContainer/TabContainer/Interface"] margin_top = 234.0 margin_right = 1022.0 margin_bottom = 278.0 script = ExtResource( 3 ) __meta__ = { "_editor_icon": ExtResource( 4 ) } description = "Quitter." config_file = "user://input.cfg" default_keyboard = null default_keyboard_alt = null default_joypad = null [node name="Deplacement" type="VBoxContainer" parent="Menus/TabContainer/Controles/ScrollContainer/TabContainer"] visible = false anchor_right = 1.0 anchor_bottom = 1.0 margin_left = 1.0 margin_top = 50.0 margin_right = -1.0 margin_bottom = -1.0 [node name="Header" type="HBoxContainer" parent="Menus/TabContainer/Controles/ScrollContainer/TabContainer/Deplacement"] editor/display_folded = true margin_right = 1022.0 margin_bottom = 37.0 [node name="TitleDescription" type="Label" parent="Menus/TabContainer/Controles/ScrollContainer/TabContainer/Deplacement/Header"] margin_right = 338.0 margin_bottom = 37.0 size_flags_horizontal = 3 custom_styles/normal = SubResource( 8 ) text = "Description" align = 2 [node name="TitleKeyboard" type="Label" parent="Menus/TabContainer/Controles/ScrollContainer/TabContainer/Deplacement/Header"] margin_left = 342.0 margin_top = 2.0 margin_right = 680.0 margin_bottom = 35.0 size_flags_horizontal = 3 text = "Clavier" align = 1 [node name="TitleJoypad" type="Label" parent="Menus/TabContainer/Controles/ScrollContainer/TabContainer/Deplacement/Header"] margin_left = 684.0 margin_top = 2.0 margin_right = 1022.0 margin_bottom = 35.0 size_flags_horizontal = 3 text = "Joypad" align = 1 [node name="move_up" type="HBoxContainer" parent="Menus/TabContainer/Controles/ScrollContainer/TabContainer/Deplacement"] margin_top = 41.0 margin_right = 1022.0 margin_bottom = 80.0 script = ExtResource( 3 ) __meta__ = { "_editor_icon": ExtResource( 4 ) } description = "Avancer." config_file = "user://input.cfg" default_keyboard = null default_keyboard_alt = null default_joypad = null [node name="move_down" type="HBoxContainer" parent="Menus/TabContainer/Controles/ScrollContainer/TabContainer/Deplacement"] margin_top = 84.0 margin_right = 1022.0 margin_bottom = 123.0 script = ExtResource( 3 ) __meta__ = { "_editor_icon": ExtResource( 4 ) } description = "Reculer." config_file = "user://input.cfg" default_keyboard = null default_keyboard_alt = null default_joypad = null [node name="move_left" type="HBoxContainer" parent="Menus/TabContainer/Controles/ScrollContainer/TabContainer/Deplacement"] margin_top = 127.0 margin_right = 1022.0 margin_bottom = 166.0 script = ExtResource( 3 ) __meta__ = { "_editor_icon": ExtResource( 4 ) } description = "Deplacement latéral gauche." config_file = "user://input.cfg" default_keyboard = null default_keyboard_alt = null default_joypad = null [node name="move_right" type="HBoxContainer" parent="Menus/TabContainer/Controles/ScrollContainer/TabContainer/Deplacement"] margin_top = 170.0 margin_right = 1022.0 margin_bottom = 209.0 script = ExtResource( 3 ) __meta__ = { "_editor_icon": ExtResource( 4 ) } description = "Deplacement latéral droit." config_file = "user://input.cfg" default_keyboard = null default_keyboard_alt = null default_joypad = null [node name="fly_up" type="HBoxContainer" parent="Menus/TabContainer/Controles/ScrollContainer/TabContainer/Deplacement"] margin_top = 213.0 margin_right = 1022.0 margin_bottom = 252.0 script = ExtResource( 3 ) __meta__ = { "_editor_icon": ExtResource( 4 ) } description = "Deplacement vers le haut." config_file = "user://input.cfg" default_keyboard = null default_keyboard_alt = null default_joypad = null [node name="fly_down" type="HBoxContainer" parent="Menus/TabContainer/Controles/ScrollContainer/TabContainer/Deplacement"] margin_top = 256.0 margin_right = 1022.0 margin_bottom = 295.0 script = ExtResource( 3 ) __meta__ = { "_editor_icon": ExtResource( 4 ) } description = "Deplacement vers le bas." config_file = "user://input.cfg" default_keyboard = null default_keyboard_alt = null default_joypad = null [node name="ResetButton" type="Button" parent="Menus/TabContainer/Controles"] visible = false margin_left = 346.0 margin_top = 359.0 margin_right = 678.0 margin_bottom = 403.0 size_flags_horizontal = 4 size_flags_vertical = 8 text = "Restorer les paramêtres par défaut." [node name="contextual_help" type="Label" parent="Menus/TabContainer/Controles"] visible = false margin_top = 407.0 margin_right = 1024.0 margin_bottom = 445.0 size_flags_vertical = 8 text = "Cliquer sur un bouton pour modifier la touche assigné à l'action correspondante." align = 1 [node name="Test" type="MarginContainer" parent="Menus/TabContainer"] visible = false anchor_right = 1.0 anchor_bottom = 1.0 margin_top = 49.0 custom_constants/margin_right = 42 custom_constants/margin_top = 42 custom_constants/margin_left = 42 custom_constants/margin_bottom = 42 [node name="ScrollContainer" type="ScrollContainer" parent="Menus/TabContainer/Test"] margin_left = 42.0 margin_top = 42.0 margin_right = 1238.0 margin_bottom = 528.0 [node name="VBoxContainer" type="VBoxContainer" parent="Menus/TabContainer/Test/ScrollContainer"] margin_left = 470.0 margin_right = 726.0 margin_bottom = 486.0 size_flags_horizontal = 6 size_flags_vertical = 3 [node name="font_size" type="HBoxContainer" parent="Menus/TabContainer/Test/ScrollContainer/VBoxContainer"] margin_right = 256.0 margin_bottom = 33.0 [node name="font_size_label" type="Label" parent="Menus/TabContainer/Test/ScrollContainer/VBoxContainer/font_size"] margin_right = 67.0 margin_bottom = 33.0 text = "Font size:" [node name="font_size_value" type="Label" parent="Menus/TabContainer/Test/ScrollContainer/VBoxContainer/font_size"] margin_left = 238.0 margin_right = 256.0 margin_bottom = 33.0 size_flags_horizontal = 10 text = "14" [node name="font_size_bar" type="HScrollBar" parent="Menus/TabContainer/Test/ScrollContainer/VBoxContainer"] margin_top = 37.0 margin_right = 256.0 margin_bottom = 49.0 rect_min_size = Vector2( 256, 0 ) min_value = 8.0 max_value = 22.0 step = 2.0 value = 14.0 [node name="SpinBox" type="SpinBox" parent="Menus/TabContainer/Test/ScrollContainer/VBoxContainer"] margin_top = 53.0 margin_right = 256.0 margin_bottom = 96.0 rect_min_size = Vector2( 256, 0 ) size_flags_horizontal = 7 size_flags_vertical = 0 prefix = "test" suffix = "tset" [node name="CheckBox" type="CheckBox" parent="Menus/TabContainer/Test/ScrollContainer/VBoxContainer"] margin_top = 100.0 margin_right = 256.0 margin_bottom = 141.0 hint_tooltip = "Test de CheckBox" size_flags_horizontal = 3 text = "Checkbox" [node name="CheckBox2" type="CheckBox" parent="Menus/TabContainer/Test/ScrollContainer/VBoxContainer"] margin_top = 145.0 margin_right = 256.0 margin_bottom = 186.0 size_flags_horizontal = 3 text = " Label un peu plus grand" [node name="TitleBox" type="HBoxContainer" parent="Menus/TabContainer/Test/ScrollContainer/VBoxContainer"] margin_top = 190.0 margin_right = 256.0 margin_bottom = 233.0 [node name="Label" type="Label" parent="Menus/TabContainer/Test/ScrollContainer/VBoxContainer/TitleBox"] margin_top = 5.0 margin_right = 40.0 margin_bottom = 38.0 text = "Title: " [node name="Title" type="LineEdit" parent="Menus/TabContainer/Test/ScrollContainer/VBoxContainer/TitleBox"] margin_left = 44.0 margin_right = 256.0 margin_bottom = 43.0 hint_tooltip = "Enter main window's title here." size_flags_horizontal = 3 caret_blink = true [node name="MenuButton" type="MenuButton" parent="Menus/TabContainer/Test/ScrollContainer/VBoxContainer"] margin_top = 237.0 margin_right = 256.0 margin_bottom = 276.0 text = "options" flat = false script = ExtResource( 5 ) [node name="ColorPickerButton" type="ColorPickerButton" parent="Menus/TabContainer/Test/ScrollContainer/VBoxContainer"] margin_top = 280.0 margin_right = 256.0 margin_bottom = 319.0 color = Color( 1, 1, 1, 1 ) [node name="Music" parent="Menus/TabContainer/Test/ScrollContainer/VBoxContainer" instance=ExtResource( 6 )] margin_top = 323.0 margin_bottom = 446.0 [node name="Footer" type="HBoxContainer" parent="Menus"] margin_top = 676.0 margin_right = 1280.0 margin_bottom = 720.0 [node name="FluteButton" type="Button" parent="Menus/Footer"] margin_right = 92.0 margin_bottom = 44.0 size_flags_horizontal = 0 size_flags_vertical = 8 custom_fonts/font = SubResource( 9 ) text = "Flute" [connection signal="toggled" from="Menus/TabContainer/Display/ScrollContainer/VBoxContainer/Fullscreen/CheckBox" to="." method="_on_Fullscreen_toggled"] [connection signal="toggled" from="Menus/TabContainer/Display/ScrollContainer/VBoxContainer/Borderless/CheckBox" to="." method="_on_Borderless_toggled"] [connection signal="toggled" from="Menus/TabContainer/Display/ScrollContainer/VBoxContainer/Resizable/CheckBox" to="." method="_on_Resizable_toggled"] [connection signal="toggled" from="Menus/TabContainer/Display/ScrollContainer/VBoxContainer/AlwaysOnTop/CheckBox" to="." method="_on_AlwaysOnTop_toggled"] [connection signal="value_changed" from="Menus/TabContainer/Display/ScrollContainer/VBoxContainer/CurrentScreen/SpinBox" to="." method="_on_SpinBox_value_changed"] [connection signal="pressed" from="Menus/TabContainer/Controles/ResetButton" to="Menus/TabContainer/Controles" method="_on_ResetButton_pressed"] [connection signal="value_changed" from="Menus/TabContainer/Test/ScrollContainer/VBoxContainer/font_size_bar" to="." method="_on_font_size_bar_value_changed"] [connection signal="text_changed" from="Menus/TabContainer/Test/ScrollContainer/VBoxContainer/TitleBox/Title" to="." method="_on_Title_text_changed"] [connection signal="pressed" from="Menus/Footer/FluteButton" to="." method="_on_FluteButton_pressed"]