-
Notifications
You must be signed in to change notification settings - Fork 4
/
virtual_joystick.tscn
60 lines (54 loc) · 1.45 KB
/
virtual_joystick.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
56
57
58
59
60
[gd_scene load_steps=4 format=2]
[ext_resource path="res://controls/analog_stick_bg_1.png" type="Texture" id=1]
[ext_resource path="res://virtual_joystick.gd" type="Script" id=2]
[ext_resource path="res://controls/analog_stick.png" type="Texture" id=3]
[node name="virtual_joy" type="Control"]
modulate = Color( 1, 1, 1, 0.572549 )
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = -2.0
margin_bottom = 2.0
size_flags_horizontal = 2
size_flags_vertical = 2
[node name="valV" type="Label" parent="."]
anchor_top = 1.0
anchor_bottom = 1.0
margin_left = 711.0
margin_top = -54.0
margin_right = 751.0
margin_bottom = -40.0
size_flags_horizontal = 2
size_flags_vertical = 0
[node name="Control" type="TextureRect" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -117.5
margin_top = -117.5
margin_right = 117.5
margin_bottom = 117.5
size_flags_horizontal = 2
size_flags_vertical = 2
texture = ExtResource( 1 )
script = ExtResource( 2 )
[node name="Joystick" type="TextureRect" parent="Control"]
modulate = Color( 0, 1, 0, 1 )
margin_left = 43.0
margin_top = 43.0
margin_right = 193.0
margin_bottom = 193.0
size_flags_horizontal = 2
size_flags_vertical = 2
texture = ExtResource( 3 )
[node name="valH" type="Label" parent="."]
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -124.0
margin_top = -54.0
margin_right = -124.0
margin_bottom = -40.0
size_flags_horizontal = 2
size_flags_vertical = 0