-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvirtual_joystick2.tscn
55 lines (51 loc) · 1.47 KB
/
virtual_joystick2.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[gd_scene load_steps=4 format=3 uid="uid://bulr8q8t27ogq"]
[ext_resource type="Script" path="res://Control_joystick.gd" id="1_2v5tb"]
[ext_resource type="Texture2D" uid="uid://dq3uctyk4uv0y" path="res://assets/JoyPad/joystick_base_outline.png" id="2_5gu1t"]
[ext_resource type="Texture2D" uid="uid://duepgc7ixtpgx" path="res://assets/JoyPad/joystick_tip.png" id="3_ny3e2"]
[node name="Virtual Joystick" type="Control"]
modulate = Color(1, 1, 1, 0.443137)
layout_mode = 3
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = -31.0
offset_top = -211.0
offset_right = 269.0
offset_bottom = 89.0
grow_vertical = 0
scale = Vector2(0.88, 0.799999)
script = ExtResource("1_2v5tb")
action_up = "ui_jump"
action_down = "down"
[node name="Base" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.602
anchor_top = 0.491
anchor_right = 0.602
anchor_bottom = 0.491
offset_left = -99.9182
offset_top = -103.55
offset_right = 100.082
offset_bottom = 103.45
grow_horizontal = 2
grow_vertical = 2
pivot_offset = Vector2(100, 100)
mouse_force_pass_scroll_events = false
texture = ExtResource("2_5gu1t")
stretch_mode = 5
[node name="Tip" type="TextureRect" parent="Base"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -54.5455
offset_top = -53.4999
offset_right = 54.4545
offset_bottom = 56.5001
grow_horizontal = 2
grow_vertical = 2
pivot_offset = Vector2(50, 50)
texture = ExtResource("3_ny3e2")