[gd_scene load_steps=4 format=3 uid="uid://elu1vc0ox472"] [sub_resource type="GDScript" id="GDScript_1rk38"] resource_name = "fov" script/source = "extends SliderElement # Element specific script for applying its value to the game func _apply_settings() -> void: apply_in_game_setting(currentValue) " [sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_hlot4"] size = Vector2(0, 0) [sub_resource type="Theme" id="Theme_4i2xw"] SpinBox/icons/updown = SubResource("PlaceholderTexture2D_hlot4") [node name="FOV" type="HBoxContainer" node_paths=PackedStringArray("SliderRef", "ValueBoxRef")] anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = SubResource("GDScript_1rk38") MIN_VALUE = 30.0 MAX_VALUE = 120.0 STEP_VALUE = 1.0 DEFAULT_VALUE = 75.0 VALUE_SUFFIX = "°" SliderRef = NodePath("SliderValue/Slider") ValueBoxRef = NodePath("SliderValue/Value") IDENTIFIER = "FOV" IS_IN_GAME_SETTING = true [node name="Label" type="Label" parent="."] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 1 text = "Field of View" vertical_alignment = 1 [node name="SliderValue" type="HBoxContainer" parent="."] layout_mode = 2 size_flags_horizontal = 3 theme_override_constants/separation = 6 [node name="Slider" type="HSlider" parent="SliderValue"] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 1 max_value = 0.0 step = 0.0 ticks_on_borders = true [node name="Value" type="SpinBox" parent="SliderValue"] layout_mode = 2 size_flags_horizontal = 8 size_flags_vertical = 4 theme = SubResource("Theme_4i2xw") max_value = 0.0 step = 0.0 alignment = 2