-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontrol.tscn
More file actions
72 lines (62 loc) · 1.94 KB
/
control.tscn
File metadata and controls
72 lines (62 loc) · 1.94 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
[gd_scene load_steps=7 format=3 uid="uid://dkek2e586ke71"]
[ext_resource type="Texture2D" uid="uid://4hvg6xxhc2bl" path="res://icon.svg" id="1_6spvo"]
[ext_resource type="PackedScene" uid="uid://hqo4i4dcmota" path="res://test.tscn" id="1_gqq6a"]
[ext_resource type="Script" path="res://control.gd" id="1_k1g1u"]
[sub_resource type="Animation" id="Animation_e6qlt"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:rotation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [0.0]
}
[sub_resource type="Animation" id="Animation_70nsj"]
resource_name = "new_animation"
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:rotation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [0.0, 6.28319]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_ut4fj"]
_data = {
"RESET": SubResource("Animation_e6qlt"),
"new_animation": SubResource("Animation_70nsj")
}
[node name="Control" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_k1g1u")
[node name="test" parent="." instance=ExtResource("1_gqq6a")]
layout_mode = 1
[node name="Sprite2D" type="Sprite2D" parent="."]
position = Vector2(168, 303)
texture = ExtResource("1_6spvo")
[node name="Sprite2D3" type="Sprite2D" parent="."]
position = Vector2(512, 465)
texture = ExtResource("1_6spvo")
[node name="Sprite2D2" type="Sprite2D" parent="."]
position = Vector2(910, 279)
texture = ExtResource("1_6spvo")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
autoplay = "new_animation"
libraries = {
"": SubResource("AnimationLibrary_ut4fj")
}