[gd_scene format=3 uid="uid://bq2sqb1u1l5ve"] [ext_resource type="PackedScene" uid="uid://dmr0fcamx7t56" path="res://addons/virtual_joystick/virtual_joystick_scene.tscn" id="1_4k4lh"] [ext_resource type="Texture2D" uid="uid://dy743vehs0t1t" path="res://icon.svg" id="2_44wa8"] [ext_resource type="Script" uid="uid://dbehmxybmfqcy" path="res://addons/virtual_joystick/test/player.gd" id="3_dsmxw"] [node name="Test" type="Node2D" unique_id=349797032] [node name="UI" type="CanvasLayer" parent="." unique_id=1633235312] [node name="Virtual joystick left" parent="UI" unique_id=1988201088 instance=ExtResource("1_4k4lh")] offset_left = 159.0 offset_top = -81.0 offset_right = 459.0 offset_bottom = 219.0 [node name="Virtual joystick right" parent="UI" unique_id=1109766981 instance=ExtResource("1_4k4lh")] anchors_preset = 3 anchor_left = 1.0 anchor_right = 1.0 offset_left = -232.0 offset_top = -81.0 offset_right = 68.0 offset_bottom = 219.0 grow_horizontal = 0 joystick_mode = 1 use_input_actions = false [node name="Player" type="Sprite2D" parent="." unique_id=1232070811 node_paths=PackedStringArray("joystick_left", "joystick_right")] position = Vector2(108, 134) texture = ExtResource("2_44wa8") script = ExtResource("3_dsmxw") joystick_left = NodePath("../UI/Virtual joystick left") joystick_right = NodePath("../UI/Virtual joystick right")