-
Notifications
You must be signed in to change notification settings - Fork 1
/
GridOpenCell.tscn
77 lines (67 loc) · 2.33 KB
/
GridOpenCell.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[gd_scene load_steps=7 format=3 uid="uid://byloojtrfbtu6"]
[ext_resource type="Animation" uid="uid://6j0ms78m314y" path="res://animation/remove_anim.res" id="1_5yr72"]
[sub_resource type="Gradient" id="1"]
interpolation_mode = 2
offsets = PackedFloat32Array(0, 0.0326797, 0.477124, 0.784314, 0.823529, 0.98324)
colors = PackedColorArray(0.266667, 0.176471, 0.709804, 0.231373, 0.0102218, 0.00472298, 0.0372375, 0.967407, 0, 0, 0, 1, 0.153261, 0.153512, 0.152029, 0.638131, 0.15625, 0.15625, 0.15625, 0.630682, 0, 0, 0, 1)
[sub_resource type="GradientTexture2D" id="2"]
gradient = SubResource("1")
width = 128
height = 128
use_hdr = true
fill = 1
fill_from = Vector2(0.5, 0.5)
fill_to = Vector2(1, 1)
[sub_resource type="Animation" id="Animation_s85md"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:scale")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(0.25, 0.25)]
}
[sub_resource type="Animation" id="Animation_8jlej"]
resource_name = "create"
length = 0.5
step = 0.01
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:scale")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.09, 0.15, 0.2, 0.23, 0.27, 0.31, 0.38, 0.42),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1),
"update": 0,
"values": [Vector2(0.25, 0.25), Vector2(0.29, 0.29), Vector2(0.31, 0.31), Vector2(0.22, 0.22), Vector2(0.19, 0.19), Vector2(0.22, 0.22), Vector2(0.25, 0.25), Vector2(0.21, 0.21), Vector2(0.25, 0.25)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_pw20h"]
_data = {
"RESET": SubResource("Animation_s85md"),
"create": SubResource("Animation_8jlej"),
"remove": ExtResource("1_5yr72")
}
[node name="Node2D" type="Node2D"]
[node name="Sprite2D" type="Sprite2D" parent="."]
scale = Vector2(0.25, 0.25)
texture = SubResource("2")
[node name="Label" type="Label" parent="."]
offset_left = -16.0
offset_top = -16.0
offset_right = 16.0
offset_bottom = 16.0
tooltip_text = "Press me!"
mouse_filter = 1
horizontal_alignment = 1
vertical_alignment = 1
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_pw20h")
}