Bugbot/UI/ControllerInput/controller_input_symbol_wheel.tscn

55 lines
1.6 KiB
Plaintext

[gd_scene load_steps=7 format=3 uid="uid://lrexjid1ddug"]
[ext_resource type="Script" path="res://addons/Bugbot/UI/ControllerInput/controller_input_symbol_wheel.gd" id="1_j7n7k"]
[ext_resource type="Material" uid="uid://bnh0d5o2riay8" path="res://addons/Bugbot/UI/ControllerInput/circle_backing.material" id="2_87ps1"]
[sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_q0thm"]
device = -1
axis = 3
axis_value = -1.0
[sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_ktlvj"]
device = -1
axis = 3
axis_value = 1.0
[sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_8y7ye"]
device = -1
axis = 2
axis_value = -1.0
[sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_222jf"]
device = -1
axis = 2
axis_value = 1.0
[node name="ControllerInputSymbolWheel" type="Control"]
layout_mode = 3
anchors_preset = 0
script = ExtResource("1_j7n7k")
wheel_characters = PackedStringArray()
unselected_scale = Vector2(0.6, 0.6)
selected_scale = Vector2(0.75, 0.75)
tween_speed = 0.05
joypad_symbol_up = SubResource("InputEventJoypadMotion_q0thm")
joypad_symbol_down = SubResource("InputEventJoypadMotion_ktlvj")
joypad_symbol_left = SubResource("InputEventJoypadMotion_8y7ye")
joypad_symbol_right = SubResource("InputEventJoypadMotion_222jf")
[node name="ColorRect" type="ColorRect" parent="."]
material = ExtResource("2_87ps1")
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -175.0
offset_top = -175.0
offset_right = 175.0
offset_bottom = 175.0
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(0.85, 0.85)
pivot_offset = Vector2(175, 175)