123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- [gd_scene load_steps=4 format=3 uid="uid://dmr0fcamx7t56"]
- [ext_resource type="Script" uid="uid://d1cdcunnnerly" path="res://addons/virtual_joystick/virtual_joystick.gd" id="1"]
- [ext_resource type="Texture2D" uid="uid://bpupbkaelw2y7" path="res://addons/virtual_joystick/textures/joystick_base_outline.png" id="2"]
- [ext_resource type="Texture2D" uid="uid://da2c363pfkygc" path="res://addons/virtual_joystick/textures/joystick_tip_arrows.png" id="3"]
- [node name="Virtual Joystick" type="Control"]
- layout_mode = 3
- anchors_preset = 2
- anchor_top = 1.0
- anchor_bottom = 1.0
- offset_top = -308.0
- offset_right = 300.0
- offset_bottom = -8.0
- grow_vertical = 0
- script = ExtResource("1")
- [node name="Base" type="TextureRect" 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 = -100.0
- offset_top = -100.0
- offset_right = 100.0
- offset_bottom = 100.0
- grow_horizontal = 2
- grow_vertical = 2
- pivot_offset = Vector2(100, 100)
- mouse_force_pass_scroll_events = false
- texture = ExtResource("2")
- stretch_mode = 5
- [node name="Tip" type="TextureRect" parent="Base"]
- layout_mode = 1
- anchors_preset = 8
- anchor_left = 0.5
- anchor_top = 0.5
- anchor_right = 0.5
- anchor_bottom = 0.5
- offset_left = -50.0
- offset_top = -50.0
- offset_right = 50.0
- offset_bottom = 50.0
- grow_horizontal = 2
- grow_vertical = 2
- pivot_offset = Vector2(50, 50)
- texture = ExtResource("3")
- stretch_mode = 5
|