-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
/
Copy pathcontroller_state.tscn
90 lines (71 loc) · 2.3 KB
/
controller_state.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[gd_scene load_steps=2 format=3 uid="uid://c6h2mtlrvrp5v"]
[ext_resource type="Script" uid="uid://b7rteq0k83idy" path="res://controller_state.gd" id="1_dwfbl"]
[node name="ControllerState" type="Control"]
custom_minimum_size = Vector2(512, 512)
layout_mode = 3
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
script = ExtResource("1_dwfbl")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -58.5
offset_top = -20.0
offset_right = 58.5
offset_bottom = 20.0
grow_horizontal = 2
grow_vertical = 2
[node name="ThresholdHeader" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
alignment = 1
[node name="Label" type="Label" parent="VBoxContainer/ThresholdHeader"]
layout_mode = 2
text = "Threshold Info:"
[node name="TriggerInput" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="VBoxContainer/TriggerInput"]
custom_minimum_size = Vector2(100, 0)
layout_mode = 2
text = "Trigger:"
[node name="HSlider" type="HSlider" parent="VBoxContainer/TriggerInput"]
custom_minimum_size = Vector2(350, 0)
layout_mode = 2
max_value = 1.0
step = 0.01
[node name="CheckBox" type="CheckBox" parent="VBoxContainer/TriggerInput"]
layout_mode = 2
[node name="Thresholds" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
alignment = 1
[node name="OnThreshold" type="Label" parent="VBoxContainer/Thresholds"]
layout_mode = 2
text = "On: 0.0"
[node name="OffThreshold" type="Label" parent="VBoxContainer/Thresholds"]
layout_mode = 2
text = "Off: 0.0"
[node name="DPadHeader" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
alignment = 1
[node name="Label" type="Label" parent="VBoxContainer/DPadHeader"]
layout_mode = 2
text = "D-pad Info:"
[node name="DPadState" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
alignment = 1
[node name="Up" type="CheckBox" parent="VBoxContainer/DPadState"]
layout_mode = 2
text = "Up"
[node name="Down" type="CheckBox" parent="VBoxContainer/DPadState"]
layout_mode = 2
text = "Down"
[node name="Left" type="CheckBox" parent="VBoxContainer/DPadState"]
layout_mode = 2
text = "Left"
[node name="Right" type="CheckBox" parent="VBoxContainer/DPadState"]
layout_mode = 2
text = "Right"