godot-vn/menus/options_menu.tscn

640 lines
15 KiB
Plaintext
Raw Normal View History

2018-09-22 20:42:03 +01:00
[gd_scene load_steps=7 format=2]
2018-09-21 19:39:08 +01:00
[ext_resource path="res://menus/options_menu.gd" type="Script" id=1]
2018-09-22 20:42:03 +01:00
[ext_resource path="res://ui/dialog_box.tscn" type="PackedScene" id=2]
[ext_resource path="res://menus/menu_button_normal.tres" type="StyleBox" id=3]
2018-09-22 03:24:32 +01:00
[sub_resource type="StyleBoxEmpty" id=1]
content_margin_left = -1.0
content_margin_right = -1.0
content_margin_top = -1.0
content_margin_bottom = -1.0
2018-09-22 20:42:03 +01:00
[sub_resource type="StyleBoxEmpty" id=3]
content_margin_left = -1.0
content_margin_right = -1.0
content_margin_top = -1.0
content_margin_bottom = -1.0
2018-09-22 03:24:32 +01:00
[sub_resource type="StyleBoxFlat" id=2]
content_margin_left = -1.0
content_margin_right = -1.0
content_margin_top = -1.0
content_margin_bottom = -1.0
bg_color = Color( 0, 0, 0, 0 )
draw_center = true
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
border_color = Color( 1, 0.647059, 0, 1 )
border_blend = true
corner_radius_top_left = 1
corner_radius_top_right = 1
corner_radius_bottom_right = 1
corner_radius_bottom_left = 1
corner_detail = 8
expand_margin_left = 0.0
expand_margin_right = 0.0
expand_margin_top = 2.0
expand_margin_bottom = 0.0
shadow_color = Color( 0, 0, 0, 0.6 )
shadow_size = 0
anti_aliasing = true
anti_aliasing_size = 1
_sections_unfolded = [ "Border", "Border Width", "Corner Radius", "Expand Margin" ]
2018-09-21 19:39:08 +01:00
[node name="options_menu" type="Control" index="0"]
2018-09-22 03:24:32 +01:00
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 1.0
anchor_bottom = 1.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
script = ExtResource( 1 )
2018-09-22 20:42:03 +01:00
[node name="dialog_box_test" parent="." index="0" instance=ExtResource( 2 )]
[node name="split" type="VSplitContainer" parent="." index="1"]
2018-09-22 03:24:32 +01:00
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 1.0
anchor_bottom = 1.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
split_offset = -48
collapsed = false
dragger_visibility = 1
[node name="title" type="Label" parent="split" index="0"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 116.0
margin_right = 1024.0
margin_bottom = 130.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 2
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 6
text = "options menu"
align = 1
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
_sections_unfolded = [ "Size Flags" ]
[node name="opts_panel" type="PanelContainer" parent="split" index="1"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 258.0
margin_right = 1024.0
margin_bottom = 600.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 3
custom_styles/panel = SubResource( 1 )
_sections_unfolded = [ "Size Flags", "custom_styles" ]
[node name="panels" type="HBoxContainer" parent="split/opts_panel" index="0"]
2018-09-21 19:39:08 +01:00
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
2018-09-22 03:24:32 +01:00
margin_right = 1024.0
2018-09-22 20:42:03 +01:00
margin_bottom = 136.0
2018-09-22 03:24:32 +01:00
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 1
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
2018-09-22 20:42:03 +01:00
size_flags_vertical = 0
2018-09-22 03:24:32 +01:00
alignment = 1
2018-09-22 20:42:03 +01:00
_sections_unfolded = [ "Size Flags" ]
2018-09-22 03:24:32 +01:00
2018-09-22 20:42:03 +01:00
[node name="game_opts" type="VBoxContainer" parent="split/opts_panel/panels" index="0"]
2018-09-22 03:24:32 +01:00
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
2018-09-22 20:42:03 +01:00
margin_left = 358.0
margin_right = 448.0
margin_bottom = 136.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 1
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
alignment = 0
_sections_unfolded = [ "Size Flags" ]
[node name="game_title" type="Label" parent="split/opts_panel/panels/game_opts" index="0"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_right = 90.0
margin_bottom = 14.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 2
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 4
text = "game options"
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
[node name="game_sep" type="HSeparator" parent="split/opts_panel/panels/game_opts" index="1"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 18.0
margin_right = 90.0
margin_bottom = 22.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
[node name="read_speed_title" type="Label" parent="split/opts_panel/panels/game_opts" index="2"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 26.0
margin_right = 90.0
margin_bottom = 40.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 2
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 4
text = "reading speed"
align = 1
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
[node name="read_speed_slider" type="HSlider" parent="split/opts_panel/panels/game_opts" index="3"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 44.0
margin_right = 90.0
margin_bottom = 60.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 0
min_value = 0.0
max_value = 100.0
step = 1.0
page = 0.0
value = 0.0
exp_edit = false
rounded = false
editable = true
tick_count = 0
ticks_on_borders = false
focus_mode = 2
[node name="read_speed_test" type="Button" parent="split/opts_panel/panels/game_opts" index="4"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 64.0
margin_right = 90.0
margin_bottom = 84.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
custom_styles/focus = SubResource( 3 )
custom_colors/font_color_disabled = Color( 0.472656, 0.472656, 0.472656, 1 )
custom_colors/font_color = Color( 1, 1, 1, 1 )
custom_colors/font_color_hover = Color( 0, 0, 0, 1 )
custom_colors/font_color_pressed = Color( 1, 0.647059, 0, 1 )
toggle_mode = false
enabled_focus_mode = 2
shortcut = null
group = null
text = "test?"
flat = true
align = 0
_sections_unfolded = [ "Rect", "Size Flags", "custom_colors", "custom_styles" ]
[node name="vsep1" type="VSeparator" parent="split/opts_panel/panels" index="1"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 452.0
margin_right = 456.0
margin_bottom = 136.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
[node name="display_opts" type="VBoxContainer" parent="split/opts_panel/panels" index="2"]
editor/display_folded = true
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 460.0
margin_right = 557.0
margin_bottom = 136.0
2018-09-22 03:24:32 +01:00
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 1
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
alignment = 0
_sections_unfolded = [ "Size Flags" ]
[node name="display_title" type="Label" parent="split/opts_panel/panels/display_opts" index="0"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_right = 97.0
margin_bottom = 14.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 2
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 4
text = "display options"
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
[node name="display_sep" type="HSeparator" parent="split/opts_panel/panels/display_opts" index="1"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 18.0
margin_right = 97.0
margin_bottom = 22.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
[node name="window_size" type="Label" parent="split/opts_panel/panels/display_opts" index="2"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 26.0
margin_right = 97.0
2018-09-21 19:39:08 +01:00
margin_bottom = 40.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
2018-09-22 03:24:32 +01:00
mouse_filter = 2
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 4
text = "window size"
align = 1
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
[node name="window_size_menu" type="MenuButton" parent="split/opts_panel/panels/display_opts" index="3"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 44.0
margin_right = 97.0
margin_bottom = 60.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
2018-09-21 19:39:08 +01:00
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
2018-09-22 03:24:32 +01:00
custom_styles/hover = SubResource( 2 )
2018-09-22 20:42:03 +01:00
custom_styles/pressed = ExtResource( 3 )
custom_styles/focus = ExtResource( 3 )
custom_styles/disabled = ExtResource( 3 )
custom_styles/normal = ExtResource( 3 )
2018-09-22 03:24:32 +01:00
toggle_mode = false
action_mode = 0
enabled_focus_mode = 0
shortcut = null
group = null
text = "> 1920x1080"
flat = false
align = 1
items = [ "1920x1080", null, 0, false, false, -1, 0, null, "", false ]
_sections_unfolded = [ "custom_colors", "custom_constants", "custom_fonts", "custom_styles" ]
2018-09-22 20:42:03 +01:00
[node name="vsep2" type="VSeparator" parent="split/opts_panel/panels" index="3"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 561.0
margin_right = 565.0
margin_bottom = 136.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
[node name="sound_opts" type="VBoxContainer" parent="split/opts_panel/panels" index="4"]
2018-09-22 03:24:32 +01:00
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
2018-09-22 20:42:03 +01:00
margin_left = 569.0
margin_right = 666.0
margin_bottom = 136.0
2018-09-22 03:24:32 +01:00
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 1
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
alignment = 0
[node name="sound_title" type="Label" parent="split/opts_panel/panels/sound_opts" index="0"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_right = 97.0
margin_bottom = 14.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 2
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 4
text = "sound options"
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
[node name="sound_sep" type="HSeparator" parent="split/opts_panel/panels/sound_opts" index="1"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 18.0
margin_right = 97.0
margin_bottom = 22.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
[node name="master_vol_title" type="Label" parent="split/opts_panel/panels/sound_opts" index="2"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 26.0
margin_right = 97.0
margin_bottom = 40.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 2
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 4
text = "master volume"
align = 1
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
[node name="master_vol_slider" type="HSlider" parent="split/opts_panel/panels/sound_opts" index="3"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 44.0
margin_right = 97.0
margin_bottom = 60.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 0
min_value = 0.0
max_value = 100.0
step = 1.0
page = 0.0
value = 0.0
exp_edit = false
rounded = false
editable = true
tick_count = 0
ticks_on_borders = false
focus_mode = 2
[node name="music_vol_title" type="Label" parent="split/opts_panel/panels/sound_opts" index="4"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 64.0
margin_right = 97.0
margin_bottom = 78.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 2
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 4
text = "music volume"
align = 1
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
[node name="music_vol_slider" type="HSlider" parent="split/opts_panel/panels/sound_opts" index="5"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 82.0
margin_right = 97.0
margin_bottom = 98.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 0
min_value = 0.0
max_value = 100.0
step = 1.0
page = 0.0
value = 0.0
exp_edit = false
rounded = false
editable = true
tick_count = 0
ticks_on_borders = false
focus_mode = 2
[node name="sfx_vol_title" type="Label" parent="split/opts_panel/panels/sound_opts" index="6"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 102.0
margin_right = 97.0
margin_bottom = 116.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 2
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 4
text = "sfx volume"
align = 1
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
[node name="sfx_vol_slider" type="HSlider" parent="split/opts_panel/panels/sound_opts" index="7"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 120.0
margin_right = 97.0
margin_bottom = 136.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 0
min_value = 0.0
max_value = 100.0
step = 1.0
page = 0.0
value = 0.0
exp_edit = false
rounded = false
editable = true
tick_count = 0
ticks_on_borders = false
focus_mode = 2
2018-09-22 20:42:03 +01:00
[node name="back_btn" type="Button" parent="." index="2"]
2018-09-22 03:24:32 +01:00
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -52.0
margin_top = 130.0
margin_right = 47.0
margin_bottom = 150.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
2018-09-22 20:22:16 +01:00
custom_styles/focus = SubResource( 3 )
custom_colors/font_color_disabled = Color( 0.472656, 0.472656, 0.472656, 1 )
custom_colors/font_color = Color( 1, 1, 1, 1 )
custom_colors/font_color_hover = Color( 0, 0, 0, 1 )
custom_colors/font_color_pressed = Color( 1, 0.647059, 0, 1 )
2018-09-22 03:24:32 +01:00
toggle_mode = false
enabled_focus_mode = 2
shortcut = null
group = null
text = "back to menu"
flat = true
align = 1
2018-09-22 20:22:16 +01:00
_sections_unfolded = [ "Rect", "Size Flags", "custom_colors", "custom_styles" ]
2018-09-21 19:39:08 +01:00