2025-05-13 19:22:01 +08:00

53 lines
1.3 KiB
Plaintext

[gd_scene load_steps=3 format=3]
[ext_resource type="Script" path="res://Scripts/UI/TouchControls.cs" id="1_42104"]
[ext_resource type="Script" path="res://Scripts/UI/Joystick.cs" id="2_fufkg"]
[node name="TouchControls" type="CanvasLayer"]
script = ExtResource("1_42104")
[node name="Joystick" type="Control" parent="."]
layout_mode = 3
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
script = ExtResource("2_fufkg")
[node name="OuterCircle" type="TextureRect" parent="Joystick"]
layout_mode = 0
offset_top = -1.0
offset_right = 40.0
offset_bottom = 39.0
[node name="DeadzoneCircle" type="TextureRect" parent="Joystick"]
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
[node name="HandleCircle" type="TextureRect" parent="Joystick"]
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
[node name="Buttons" type="Control" parent="."]
layout_mode = 3
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
[node name="ButtonZ" type="TextureButton" parent="Buttons"]
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
[node name="ButtonX" type="TextureButton" parent="Buttons"]
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
[node name="ButtonC" type="TextureButton" parent="Buttons"]
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0