MagicNStuff/game/src/ui/setup/controller/controller_setup_menu.tscn
SchimmelSpreu83 3080806d8c Small improvements
- Lowered bpm of the rhythm setup.
2026-06-22 19:28:12 +02:00

173 lines
5.3 KiB
Plaintext

[gd_scene format=3 uid="uid://dak6f2xw3mgjj"]
[ext_resource type="Script" uid="uid://cs2yn6o8vsp4a" path="res://src/ui/setup/controller/controller_setup_menu.gd" id="1_ee61x"]
[ext_resource type="Script" uid="uid://bbwtct3hoxwws" path="res://src/core/controller_rumble/rumble_component.gd" id="2_6beo4"]
[ext_resource type="Texture2D" uid="uid://g85advbc1vrw" path="res://addons/controller_icons/assets/xboxseries/diagram_simple.png" id="3_6beo4"]
[ext_resource type="Script" uid="uid://dwwingj0dsxdg" path="res://src/core/controller_rumble/rumble_config.gd" id="3_sa2mc"]
[sub_resource type="Resource" id="Resource_gtqq5"]
script = ExtResource("3_sa2mc")
[node name="ControllerSetupMenu" type="Control" unique_id=1563422179]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_ee61x")
metadata/_custom_type_script = "uid://cs2yn6o8vsp4a"
[node name="RumbleComponent" type="Node" parent="." unique_id=193091150]
unique_name_in_owner = true
script = ExtResource("2_6beo4")
data = SubResource("Resource_gtqq5")
weak_magnitude = 0.05
strong_magnitude = 0.05
metadata/_custom_type_script = "uid://bbwtct3hoxwws"
[node name="RepeatVibrationTimer" type="Timer" parent="." unique_id=1579451638]
unique_name_in_owner = true
[node name="Label" type="Label" parent="." unique_id=684594410]
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
offset_bottom = 23.0
grow_horizontal = 2
text = "Adjust the sliders, until you can bearly feel the vibrations."
horizontal_alignment = 1
[node name="RichTextLabel" type="RichTextLabel" parent="." unique_id=1446444531]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
bbcode_enabled = true
text = "Accept [img=32]uid://bi8jxa3gcbfdn[/img]
Back [img=32]uid://cjtlrpqb75elt[/img]"
horizontal_alignment = 2
vertical_alignment = 2
[node name="ConfirmButton" type="Button" parent="." unique_id=1463168955]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = -1
anchor_left = 0.5
anchor_top = 0.75
anchor_right = 0.5
anchor_bottom = 0.75
offset_left = -35.5
offset_top = -31.0
offset_right = 35.5
grow_horizontal = 2
grow_vertical = 0
focus_neighbor_left = NodePath(".")
focus_neighbor_top = NodePath("../VBoxContainer/MinStrongMagnitude")
focus_neighbor_right = NodePath(".")
focus_neighbor_bottom = NodePath("../DenyButton")
focus_next = NodePath("../DenyButton")
focus_previous = NodePath("../VBoxContainer/MinStrongMagnitude")
text = "Confirm"
[node name="DenyButton" type="Button" parent="." unique_id=675156855]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = -1
anchor_left = 0.5
anchor_top = 0.75
anchor_right = 0.5
anchor_bottom = 0.75
offset_left = -109.5
offset_top = 10.0
offset_right = 109.5
offset_bottom = 41.0
grow_horizontal = 2
grow_vertical = 0
focus_neighbor_left = NodePath(".")
focus_neighbor_top = NodePath("../ConfirmButton")
focus_neighbor_right = NodePath(".")
focus_neighbor_bottom = NodePath(".")
focus_next = NodePath(".")
focus_previous = NodePath("../VBoxContainer/MinStrongMagnitude")
text = "I wont be using a controller"
[node name="VibrateTexture" type="TextureRect" parent="." unique_id=766104981]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = -1
anchor_left = 0.4
anchor_top = 0.05
anchor_right = 0.6
anchor_bottom = 0.17
offset_left = -64.0
offset_right = 64.0
offset_bottom = 127.99999
grow_horizontal = 2
pivot_offset_ratio = Vector2(0.5, 0.6)
texture = ExtResource("3_6beo4")
expand_mode = 1
stretch_mode = 5
[node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=239130047]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.35416666
anchor_top = 0.48765433
anchor_right = 0.6458333
anchor_bottom = 0.5123457
offset_left = -20.0
offset_top = -20.0
offset_right = 20.0
offset_bottom = 20.0
grow_horizontal = 2
grow_vertical = 2
metadata/_edit_use_anchors_ = true
[node name="StatusLabel" type="Label" parent="VBoxContainer" unique_id=1981025114]
unique_name_in_owner = true
layout_mode = 2
text = "Testing: Weak-Motor"
horizontal_alignment = 1
[node name="MinDurationSlider" type="HSlider" parent="VBoxContainer" unique_id=339190501]
unique_name_in_owner = true
visible = false
layout_mode = 2
[node name="WeakLabel" type="Label" parent="VBoxContainer" unique_id=464920362]
layout_mode = 2
text = "Weak-Motor:"
[node name="MinWeakMagnitude" type="HSlider" parent="VBoxContainer" unique_id=1247262766]
unique_name_in_owner = true
layout_mode = 2
focus_neighbor_left = NodePath(".")
focus_neighbor_top = NodePath(".")
focus_neighbor_right = NodePath(".")
focus_neighbor_bottom = NodePath("../MinStrongMagnitude")
focus_next = NodePath("../MinStrongMagnitude")
focus_previous = NodePath(".")
max_value = 1.0
step = 0.01
[node name="StrongLabel" type="Label" parent="VBoxContainer" unique_id=1163539352]
layout_mode = 2
text = "Strong-Motor:"
[node name="MinStrongMagnitude" type="HSlider" parent="VBoxContainer" unique_id=1752017132]
unique_name_in_owner = true
layout_mode = 2
focus_neighbor_left = NodePath(".")
focus_neighbor_top = NodePath("../MinWeakMagnitude")
focus_neighbor_right = NodePath(".")
focus_neighbor_bottom = NodePath("../../ConfirmButton")
focus_next = NodePath("../../ConfirmButton")
focus_previous = NodePath("../MinWeakMagnitude")
max_value = 1.0
step = 0.01