-
Notifications
You must be signed in to change notification settings - Fork 1
/
GridCell.tscn
120 lines (108 loc) · 3.34 KB
/
GridCell.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
[gd_scene load_steps=11 format=3 uid="uid://cqcb1knrt6dow"]
[ext_resource type="Script" path="res://AudioStreamTonePlayer.gd" id="1_fci2f"]
[ext_resource type="Script" path="res://AudioStreamTone.gd" id="1_muuad"]
[ext_resource type="AudioStream" uid="uid://b6dq4ap85rnw5" path="res://Purchase.wav" id="2_ktx50"]
[ext_resource type="Animation" uid="uid://6j0ms78m314y" path="res://animation/remove_anim.res" id="4_lpjc7"]
[sub_resource type="Gradient" id="1"]
interpolation_mode = 2
offsets = PackedFloat32Array(0, 0.98324, 1)
colors = PackedColorArray(0.129412, 0.129412, 0.129412, 0, 1, 1, 1, 1, 1, 1, 1, 0)
[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="AudioStreamRandomizer" id="AudioStreamRandomizer_hvyf8"]
streams_count = 1
random_pitch = 1.0
stream_0/stream = ExtResource("2_ktx50")
stream_0/weight = 1.0
script = ExtResource("1_muuad")
sequential_pitch_scale = 0.01
pitch_scale = 1
[sub_resource type="Animation" id="Animation_kpw1b"]
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)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Label:visible_ratio")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [1.0]
}
[sub_resource type="Animation" id="Animation_lqiyq"]
resource_name = "open"
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.06, 0.1, 0.22, 0.31, 0.37, 0.43),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
"update": 0,
"values": [Vector2(0.25, 0.25), Vector2(0.19, 0.19), Vector2(0.29, 0.29), Vector2(0.25, 0.25), Vector2(0.23, 0.23), Vector2(0.25, 0.25)]
}
tracks/1/type = "method"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("AudioStreamPlayer2D")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0.03),
"transitions": PackedFloat32Array(1),
"values": [{
"args": [0.0],
"method": &"play"
}]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_1aqtu"]
_data = {
"RESET": SubResource("Animation_kpw1b"),
"open": SubResource("Animation_lqiyq"),
"remove": ExtResource("4_lpjc7")
}
[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
pivot_offset = Vector2(16, 16)
tooltip_text = "Visited"
text = "1"
horizontal_alignment = 1
vertical_alignment = 1
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
stream = SubResource("AudioStreamRandomizer_hvyf8")
script = ExtResource("1_fci2f")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_1aqtu")
}