2026-03-21 01:08:00 +02:00
|
|
|
[gd_scene format=3 uid="uid://c7bwo3h0leip4"]
|
2026-01-24 14:29:16 +02:00
|
|
|
|
|
|
|
|
[ext_resource type="Script" uid="uid://bu2nrvyk2k8ib" path="res://controller/controller.gd" id="1_uu6xs"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://bkw6xqubudrtw" path="res://controller/button/controller_button.tscn" id="2_uu6xs"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://c1dixxyohl131" path="res://controller/trigger/trigger_button.tscn" id="3_r0du0"]
|
2026-01-24 15:49:06 +02:00
|
|
|
[ext_resource type="PackedScene" uid="uid://dmbbgdsoioadd" path="res://controller/joystick/joystick.tscn" id="4_cm0pq"]
|
2026-01-24 14:29:16 +02:00
|
|
|
|
2026-03-21 01:08:00 +02:00
|
|
|
[node name="Main" type="Control" unique_id=383427640]
|
2026-01-24 14:29:16 +02:00
|
|
|
layout_mode = 3
|
|
|
|
|
anchors_preset = 15
|
|
|
|
|
anchor_right = 1.0
|
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
grow_vertical = 2
|
|
|
|
|
script = ExtResource("1_uu6xs")
|
|
|
|
|
|
2026-03-21 01:08:00 +02:00
|
|
|
[node name="Device" type="RichTextLabel" parent="." unique_id=809964945]
|
2026-01-24 14:29:16 +02:00
|
|
|
layout_mode = 1
|
|
|
|
|
anchors_preset = 10
|
|
|
|
|
anchor_right = 1.0
|
|
|
|
|
offset_left = 16.0
|
2026-03-21 01:08:00 +02:00
|
|
|
offset_top = 8.0
|
2026-01-24 14:29:16 +02:00
|
|
|
offset_right = -26.0
|
2026-03-21 01:08:00 +02:00
|
|
|
offset_bottom = 56.0
|
2026-01-24 14:29:16 +02:00
|
|
|
grow_horizontal = 2
|
|
|
|
|
theme_override_font_sizes/normal_font_size = 24
|
|
|
|
|
text = "No Active Device"
|
2026-03-21 01:08:00 +02:00
|
|
|
vertical_alignment = 1
|
2026-01-24 14:29:16 +02:00
|
|
|
|
2026-03-21 01:08:00 +02:00
|
|
|
[node name="DPad" type="Control" parent="." unique_id=1423843832]
|
2026-01-24 14:29:16 +02:00
|
|
|
layout_mode = 1
|
|
|
|
|
anchors_preset = 4
|
|
|
|
|
anchor_top = 0.5
|
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
|
offset_left = 191.0
|
2026-03-21 01:08:00 +02:00
|
|
|
offset_top = -36.0
|
2026-01-24 14:29:16 +02:00
|
|
|
offset_right = 191.0
|
2026-03-21 01:08:00 +02:00
|
|
|
offset_bottom = -36.0
|
2026-01-24 14:29:16 +02:00
|
|
|
grow_vertical = 2
|
|
|
|
|
|
2026-03-21 01:08:00 +02:00
|
|
|
[node name="Up" parent="DPad" unique_id=1761309990 instance=ExtResource("2_uu6xs")]
|
2026-01-24 14:29:16 +02:00
|
|
|
layout_mode = 0
|
|
|
|
|
offset_left = 1.0
|
|
|
|
|
offset_top = -128.0
|
|
|
|
|
offset_right = 97.0
|
|
|
|
|
offset_bottom = -32.0
|
|
|
|
|
input_code = "ui_up"
|
|
|
|
|
label = "Up"
|
|
|
|
|
|
2026-03-21 01:08:00 +02:00
|
|
|
[node name="Left" parent="DPad" unique_id=1361916211 instance=ExtResource("2_uu6xs")]
|
2026-01-24 14:29:16 +02:00
|
|
|
layout_mode = 0
|
|
|
|
|
offset_left = -95.0
|
|
|
|
|
offset_top = -32.0
|
|
|
|
|
offset_right = 1.0
|
|
|
|
|
offset_bottom = 64.0
|
|
|
|
|
input_code = "ui_left"
|
|
|
|
|
label = "Left"
|
|
|
|
|
|
2026-03-21 01:08:00 +02:00
|
|
|
[node name="Right" parent="DPad" unique_id=1409257767 instance=ExtResource("2_uu6xs")]
|
2026-01-24 14:29:16 +02:00
|
|
|
layout_mode = 0
|
|
|
|
|
offset_left = 97.0
|
|
|
|
|
offset_top = -32.0
|
|
|
|
|
offset_right = 193.0
|
|
|
|
|
offset_bottom = 64.0
|
|
|
|
|
input_code = "ui_right"
|
|
|
|
|
label = "Right"
|
|
|
|
|
|
2026-03-21 01:08:00 +02:00
|
|
|
[node name="Down" parent="DPad" unique_id=1438894499 instance=ExtResource("2_uu6xs")]
|
2026-01-24 14:29:16 +02:00
|
|
|
layout_mode = 0
|
|
|
|
|
offset_left = 1.0
|
|
|
|
|
offset_top = 64.0
|
|
|
|
|
offset_right = 97.0
|
|
|
|
|
offset_bottom = 160.0
|
|
|
|
|
input_code = "ui_down"
|
|
|
|
|
label = "Down"
|
|
|
|
|
|
2026-03-21 01:08:00 +02:00
|
|
|
[node name="Actions" type="Control" parent="." unique_id=1246559461]
|
2026-01-24 14:29:16 +02:00
|
|
|
layout_mode = 1
|
|
|
|
|
anchors_preset = 6
|
|
|
|
|
anchor_left = 1.0
|
|
|
|
|
anchor_top = 0.5
|
|
|
|
|
anchor_right = 1.0
|
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
|
offset_left = -288.0
|
2026-03-21 01:08:00 +02:00
|
|
|
offset_top = -36.0
|
2026-01-24 14:29:16 +02:00
|
|
|
offset_right = -288.0
|
2026-03-21 01:08:00 +02:00
|
|
|
offset_bottom = -36.0
|
2026-01-24 14:29:16 +02:00
|
|
|
grow_horizontal = 0
|
|
|
|
|
grow_vertical = 2
|
|
|
|
|
|
2026-03-21 01:08:00 +02:00
|
|
|
[node name="Action4" parent="Actions" unique_id=178918588 instance=ExtResource("2_uu6xs")]
|
2026-01-24 14:29:16 +02:00
|
|
|
layout_mode = 0
|
|
|
|
|
offset_top = -128.0
|
|
|
|
|
offset_bottom = -32.0
|
|
|
|
|
input_code = "action_4"
|
2026-01-24 21:46:06 +02:00
|
|
|
label = "[img]uid://dd8f8gmpc0era[/img]"
|
2026-01-24 14:29:16 +02:00
|
|
|
|
2026-03-21 01:08:00 +02:00
|
|
|
[node name="Action3" parent="Actions" unique_id=263249942 instance=ExtResource("2_uu6xs")]
|
2026-01-24 14:29:16 +02:00
|
|
|
layout_mode = 0
|
|
|
|
|
offset_left = -96.0
|
|
|
|
|
offset_top = -32.0
|
|
|
|
|
offset_right = 0.0
|
|
|
|
|
offset_bottom = 64.0
|
|
|
|
|
input_code = "action_3"
|
2026-01-24 21:46:06 +02:00
|
|
|
label = "[img]uid://c3cwld6imdmxo[/img]"
|
2026-01-24 14:29:16 +02:00
|
|
|
|
2026-03-21 01:08:00 +02:00
|
|
|
[node name="Action2" parent="Actions" unique_id=2082637160 instance=ExtResource("2_uu6xs")]
|
2026-01-24 14:29:16 +02:00
|
|
|
layout_mode = 0
|
|
|
|
|
offset_left = 96.0
|
|
|
|
|
offset_top = -32.0
|
|
|
|
|
offset_right = 192.0
|
|
|
|
|
offset_bottom = 64.0
|
|
|
|
|
input_code = "action_2"
|
2026-01-24 21:46:06 +02:00
|
|
|
label = "[img]uid://dgmruo36vderr[/img]"
|
2026-01-24 14:29:16 +02:00
|
|
|
|
2026-03-21 01:08:00 +02:00
|
|
|
[node name="Action1" parent="Actions" unique_id=172764084 instance=ExtResource("2_uu6xs")]
|
2026-01-24 14:29:16 +02:00
|
|
|
layout_mode = 0
|
|
|
|
|
offset_top = 64.0
|
|
|
|
|
offset_bottom = 160.0
|
|
|
|
|
input_code = "action_1"
|
2026-01-24 21:46:06 +02:00
|
|
|
label = "[img]uid://d23pu1ionxes1[/img]"
|
2026-01-24 14:29:16 +02:00
|
|
|
|
2026-03-21 01:08:00 +02:00
|
|
|
[node name="MidButtons" type="Control" parent="." unique_id=1126578940]
|
2026-01-24 14:29:16 +02:00
|
|
|
layout_mode = 1
|
|
|
|
|
anchors_preset = 8
|
|
|
|
|
anchor_left = 0.5
|
|
|
|
|
anchor_top = 0.5
|
|
|
|
|
anchor_right = 0.5
|
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
|
offset_left = -20.0
|
2026-03-21 01:08:00 +02:00
|
|
|
offset_top = -36.0
|
2026-01-24 14:29:16 +02:00
|
|
|
offset_right = 20.0
|
2026-03-21 01:08:00 +02:00
|
|
|
offset_bottom = 4.0
|
2026-01-24 14:29:16 +02:00
|
|
|
grow_horizontal = 2
|
|
|
|
|
grow_vertical = 2
|
|
|
|
|
|
2026-03-21 01:08:00 +02:00
|
|
|
[node name="Select" parent="MidButtons" unique_id=1297320243 instance=ExtResource("2_uu6xs")]
|
2026-01-24 14:29:16 +02:00
|
|
|
layout_mode = 0
|
|
|
|
|
offset_left = -140.0
|
|
|
|
|
offset_top = -32.0
|
|
|
|
|
offset_right = -44.0
|
|
|
|
|
offset_bottom = 16.0
|
|
|
|
|
pivot_offset = Vector2(48, 24)
|
|
|
|
|
input_code = "select"
|
2026-01-24 21:46:06 +02:00
|
|
|
label = "[img width=48]uid://kq8unss5dfnf[/img]"
|
2026-01-24 14:29:16 +02:00
|
|
|
|
2026-03-21 01:08:00 +02:00
|
|
|
[node name="Start" parent="MidButtons" unique_id=769928574 instance=ExtResource("2_uu6xs")]
|
2026-01-24 14:29:16 +02:00
|
|
|
layout_mode = 0
|
|
|
|
|
offset_left = 84.0
|
|
|
|
|
offset_top = -32.0
|
|
|
|
|
offset_right = 180.0
|
|
|
|
|
offset_bottom = 16.0
|
|
|
|
|
pivot_offset = Vector2(48, 24)
|
|
|
|
|
input_code = "start"
|
2026-01-24 21:46:06 +02:00
|
|
|
label = "[img width=48]uid://03m3ethxsomd[/img]"
|
2026-01-24 14:29:16 +02:00
|
|
|
|
2026-03-21 01:08:00 +02:00
|
|
|
[node name="ShoulderButtons" type="Control" parent="." unique_id=1966522733]
|
2026-01-24 14:29:16 +02:00
|
|
|
layout_mode = 1
|
|
|
|
|
anchors_preset = 8
|
|
|
|
|
anchor_left = 0.5
|
|
|
|
|
anchor_top = 0.5
|
|
|
|
|
anchor_right = 0.5
|
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
|
offset_left = -20.0
|
2026-03-21 01:08:00 +02:00
|
|
|
offset_top = -36.0
|
2026-01-24 14:29:16 +02:00
|
|
|
offset_right = 20.0
|
2026-03-21 01:08:00 +02:00
|
|
|
offset_bottom = 4.0
|
2026-01-24 14:29:16 +02:00
|
|
|
grow_horizontal = 2
|
|
|
|
|
grow_vertical = 2
|
|
|
|
|
|
2026-03-21 01:08:00 +02:00
|
|
|
[node name="R1" parent="ShoulderButtons" unique_id=80114877 instance=ExtResource("2_uu6xs")]
|
2026-01-24 14:29:16 +02:00
|
|
|
layout_mode = 0
|
|
|
|
|
offset_left = 84.0
|
|
|
|
|
offset_top = -231.0
|
|
|
|
|
offset_right = 212.0
|
|
|
|
|
offset_bottom = -167.0
|
|
|
|
|
input_code = "r1"
|
2026-01-24 21:46:06 +02:00
|
|
|
label = "[img]uid://wqltrinwradw[/img]"
|
2026-01-24 14:29:16 +02:00
|
|
|
|
2026-03-21 01:08:00 +02:00
|
|
|
[node name="R2" parent="ShoulderButtons" unique_id=1470410463 instance=ExtResource("3_r0du0")]
|
2026-01-24 14:29:16 +02:00
|
|
|
layout_mode = 0
|
|
|
|
|
offset_left = 276.0
|
|
|
|
|
offset_top = -261.0
|
|
|
|
|
offset_right = 340.0
|
|
|
|
|
offset_bottom = -133.0
|
|
|
|
|
input_axis = 5
|
2026-01-24 21:46:06 +02:00
|
|
|
label = "[img width=48]uid://wrst4mxi4mdc[/img]"
|
2026-01-24 14:29:16 +02:00
|
|
|
|
2026-03-21 01:08:00 +02:00
|
|
|
[node name="L1" parent="ShoulderButtons" unique_id=855316651 instance=ExtResource("2_uu6xs")]
|
2026-01-24 14:29:16 +02:00
|
|
|
layout_mode = 0
|
|
|
|
|
offset_left = -172.0
|
|
|
|
|
offset_top = -233.0
|
|
|
|
|
offset_right = -44.0
|
|
|
|
|
offset_bottom = -169.0
|
|
|
|
|
input_code = "l1"
|
2026-01-24 21:46:06 +02:00
|
|
|
label = "[img]uid://crjyakxa6idyd[/img]"
|
2026-01-24 14:29:16 +02:00
|
|
|
|
2026-03-21 01:08:00 +02:00
|
|
|
[node name="L2" parent="ShoulderButtons" unique_id=1357656382 instance=ExtResource("3_r0du0")]
|
2026-01-24 14:29:16 +02:00
|
|
|
layout_mode = 0
|
|
|
|
|
offset_left = -300.0
|
|
|
|
|
offset_top = -261.0
|
|
|
|
|
offset_right = -236.0
|
|
|
|
|
offset_bottom = -133.0
|
|
|
|
|
input_axis = 4
|
2026-01-24 21:46:06 +02:00
|
|
|
label = "[img width=48]uid://xl1fiv1qi2sx[/img]"
|
2026-01-24 15:49:06 +02:00
|
|
|
|
2026-03-21 01:08:00 +02:00
|
|
|
[node name="LeftJoystick" parent="." unique_id=169846338 instance=ExtResource("4_cm0pq")]
|
2026-01-24 15:49:06 +02:00
|
|
|
layout_mode = 1
|
|
|
|
|
anchors_preset = 7
|
|
|
|
|
anchor_left = 0.5
|
|
|
|
|
anchor_top = 1.0
|
|
|
|
|
anchor_right = 0.5
|
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
|
offset_left = -320.0
|
2026-03-21 01:08:00 +02:00
|
|
|
offset_top = -309.0
|
2026-01-24 15:49:06 +02:00
|
|
|
offset_right = -64.0
|
2026-03-21 01:08:00 +02:00
|
|
|
offset_bottom = -53.0
|
2026-01-24 15:49:06 +02:00
|
|
|
grow_horizontal = 2
|
|
|
|
|
grow_vertical = 0
|
|
|
|
|
axis_y = 1
|
|
|
|
|
|
2026-03-21 01:08:00 +02:00
|
|
|
[node name="RightJoystick" parent="." unique_id=911300384 instance=ExtResource("4_cm0pq")]
|
2026-01-24 15:49:06 +02:00
|
|
|
layout_mode = 1
|
|
|
|
|
anchors_preset = 7
|
|
|
|
|
anchor_left = 0.5
|
|
|
|
|
anchor_top = 1.0
|
|
|
|
|
anchor_right = 0.5
|
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
|
offset_left = 64.0
|
2026-03-21 01:08:00 +02:00
|
|
|
offset_top = -309.0
|
2026-01-24 15:49:06 +02:00
|
|
|
offset_right = 320.0
|
2026-03-21 01:08:00 +02:00
|
|
|
offset_bottom = -53.0
|
2026-01-24 15:49:06 +02:00
|
|
|
grow_horizontal = 2
|
|
|
|
|
grow_vertical = 0
|
|
|
|
|
axis_x = 2
|
|
|
|
|
axis_y = 3
|