Skip to content

Commit fa51e46

Browse files
committed
project reload updates some files
1 parent 854ba82 commit fa51e46

File tree

2 files changed

+53
-44
lines changed

2 files changed

+53
-44
lines changed

project/Resources/CardDatabase.tres

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,16 @@
22

33
[resource]
44
data = {
5-
"Archer": { "Attack": 1.0, "Health": 1.0 },
6-
"Demon": { "Attack": 5.0, "Health": 7.0 },
7-
"Knight": { "Attack": 2.0, "Health": 3.0 }
5+
"Archer": {
6+
"Attack": 1.0,
7+
"Health": 1.0
8+
},
9+
"Demon": {
10+
"Attack": 5.0,
11+
"Health": 7.0
12+
},
13+
"Knight": {
14+
"Attack": 2.0,
15+
"Health": 3.0
16+
}
817
}

project/Scenes/Card.tscn

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,19 @@
77
[sub_resource type="RectangleShape2D" id="RectangleShape2D_pvoh4"]
88
size = Vector2(248.889, 348.889)
99

10-
[sub_resource type="Animation" id="Animation_k7bfb"]
11-
resource_name = "card_flip"
12-
step = 0.01
10+
[sub_resource type="Animation" id="Animation_s5vs2"]
11+
length = 0.001
1312
tracks/0/type = "value"
1413
tracks/0/imported = false
1514
tracks/0/enabled = true
1615
tracks/0/path = NodePath("Health:modulate")
1716
tracks/0/interp = 1
1817
tracks/0/loop_wrap = true
1918
tracks/0/keys = {
20-
"times": PackedFloat32Array(0, 0.16, 0.2),
21-
"transitions": PackedFloat32Array(1, 1, 1),
19+
"times": PackedFloat32Array(0),
20+
"transitions": PackedFloat32Array(1),
2221
"update": 0,
23-
"values": [Color(0, 0, 0, 0), Color(0, 0, 0, 0), Color(0, 0, 0, 1)]
22+
"values": [Color(0, 0, 0, 0)]
2423
}
2524
tracks/1/type = "value"
2625
tracks/1/imported = false
@@ -29,10 +28,10 @@ tracks/1/path = NodePath("Attack:modulate")
2928
tracks/1/interp = 1
3029
tracks/1/loop_wrap = true
3130
tracks/1/keys = {
32-
"times": PackedFloat32Array(0, 0.16, 0.2),
33-
"transitions": PackedFloat32Array(1, 1, 1),
31+
"times": PackedFloat32Array(0),
32+
"transitions": PackedFloat32Array(1),
3433
"update": 0,
35-
"values": [Color(0, 0, 0, 0), Color(0, 0, 0, 0), Color(0, 0, 0, 1)]
34+
"values": [Color(0, 0, 0, 0)]
3635
}
3736
tracks/2/type = "value"
3837
tracks/2/imported = false
@@ -41,10 +40,10 @@ tracks/2/path = NodePath("CardBackImage:scale")
4140
tracks/2/interp = 1
4241
tracks/2/loop_wrap = true
4342
tracks/2/keys = {
44-
"times": PackedFloat32Array(0, 0.1, 0.2),
45-
"transitions": PackedFloat32Array(1, 1, 1),
43+
"times": PackedFloat32Array(0),
44+
"transitions": PackedFloat32Array(1),
4645
"update": 0,
47-
"values": [Vector2(1, 1), Vector2(0.1, 1), Vector2(1, 1)]
46+
"values": [Vector2(1, 1)]
4847
}
4948
tracks/3/type = "value"
5049
tracks/3/imported = false
@@ -53,10 +52,10 @@ tracks/3/path = NodePath("CardBackImage:z_index")
5352
tracks/3/interp = 1
5453
tracks/3/loop_wrap = true
5554
tracks/3/keys = {
56-
"times": PackedFloat32Array(0, 0.1),
57-
"transitions": PackedFloat32Array(1, 1),
55+
"times": PackedFloat32Array(0),
56+
"transitions": PackedFloat32Array(1),
5857
"update": 1,
59-
"values": [0, -1]
58+
"values": [0]
6059
}
6160
tracks/4/type = "value"
6261
tracks/4/imported = false
@@ -65,10 +64,10 @@ tracks/4/path = NodePath("CardImage:scale")
6564
tracks/4/interp = 1
6665
tracks/4/loop_wrap = true
6766
tracks/4/keys = {
68-
"times": PackedFloat32Array(0, 0.1, 0.2),
69-
"transitions": PackedFloat32Array(1, 1, 1),
67+
"times": PackedFloat32Array(0),
68+
"transitions": PackedFloat32Array(1),
7069
"update": 0,
71-
"values": [Vector2(1, 1), Vector2(0.1, 1), Vector2(1, 1)]
70+
"values": [Vector2(1, 1)]
7271
}
7372
tracks/5/type = "value"
7473
tracks/5/imported = false
@@ -77,25 +76,26 @@ tracks/5/path = NodePath("CardImage:z_index")
7776
tracks/5/interp = 1
7877
tracks/5/loop_wrap = true
7978
tracks/5/keys = {
80-
"times": PackedFloat32Array(0, 0.1),
81-
"transitions": PackedFloat32Array(1, 1),
79+
"times": PackedFloat32Array(0),
80+
"transitions": PackedFloat32Array(1),
8281
"update": 1,
83-
"values": [-1, 0]
82+
"values": [-1]
8483
}
8584

86-
[sub_resource type="Animation" id="Animation_s5vs2"]
87-
length = 0.001
85+
[sub_resource type="Animation" id="Animation_k7bfb"]
86+
resource_name = "card_flip"
87+
step = 0.01
8888
tracks/0/type = "value"
8989
tracks/0/imported = false
9090
tracks/0/enabled = true
9191
tracks/0/path = NodePath("Health:modulate")
9292
tracks/0/interp = 1
9393
tracks/0/loop_wrap = true
9494
tracks/0/keys = {
95-
"times": PackedFloat32Array(0),
96-
"transitions": PackedFloat32Array(1),
95+
"times": PackedFloat32Array(0, 0.16, 0.2),
96+
"transitions": PackedFloat32Array(1, 1, 1),
9797
"update": 0,
98-
"values": [Color(0, 0, 0, 0)]
98+
"values": [Color(0, 0, 0, 0), Color(0, 0, 0, 0), Color(0, 0, 0, 1)]
9999
}
100100
tracks/1/type = "value"
101101
tracks/1/imported = false
@@ -104,10 +104,10 @@ tracks/1/path = NodePath("Attack:modulate")
104104
tracks/1/interp = 1
105105
tracks/1/loop_wrap = true
106106
tracks/1/keys = {
107-
"times": PackedFloat32Array(0),
108-
"transitions": PackedFloat32Array(1),
107+
"times": PackedFloat32Array(0, 0.16, 0.2),
108+
"transitions": PackedFloat32Array(1, 1, 1),
109109
"update": 0,
110-
"values": [Color(0, 0, 0, 0)]
110+
"values": [Color(0, 0, 0, 0), Color(0, 0, 0, 0), Color(0, 0, 0, 1)]
111111
}
112112
tracks/2/type = "value"
113113
tracks/2/imported = false
@@ -116,10 +116,10 @@ tracks/2/path = NodePath("CardBackImage:scale")
116116
tracks/2/interp = 1
117117
tracks/2/loop_wrap = true
118118
tracks/2/keys = {
119-
"times": PackedFloat32Array(0),
120-
"transitions": PackedFloat32Array(1),
119+
"times": PackedFloat32Array(0, 0.1, 0.2),
120+
"transitions": PackedFloat32Array(1, 1, 1),
121121
"update": 0,
122-
"values": [Vector2(1, 1)]
122+
"values": [Vector2(1, 1), Vector2(0.1, 1), Vector2(1, 1)]
123123
}
124124
tracks/3/type = "value"
125125
tracks/3/imported = false
@@ -128,10 +128,10 @@ tracks/3/path = NodePath("CardBackImage:z_index")
128128
tracks/3/interp = 1
129129
tracks/3/loop_wrap = true
130130
tracks/3/keys = {
131-
"times": PackedFloat32Array(0),
132-
"transitions": PackedFloat32Array(1),
131+
"times": PackedFloat32Array(0, 0.1),
132+
"transitions": PackedFloat32Array(1, 1),
133133
"update": 1,
134-
"values": [0]
134+
"values": [0, -1]
135135
}
136136
tracks/4/type = "value"
137137
tracks/4/imported = false
@@ -140,10 +140,10 @@ tracks/4/path = NodePath("CardImage:scale")
140140
tracks/4/interp = 1
141141
tracks/4/loop_wrap = true
142142
tracks/4/keys = {
143-
"times": PackedFloat32Array(0),
144-
"transitions": PackedFloat32Array(1),
143+
"times": PackedFloat32Array(0, 0.1, 0.2),
144+
"transitions": PackedFloat32Array(1, 1, 1),
145145
"update": 0,
146-
"values": [Vector2(1, 1)]
146+
"values": [Vector2(1, 1), Vector2(0.1, 1), Vector2(1, 1)]
147147
}
148148
tracks/5/type = "value"
149149
tracks/5/imported = false
@@ -152,10 +152,10 @@ tracks/5/path = NodePath("CardImage:z_index")
152152
tracks/5/interp = 1
153153
tracks/5/loop_wrap = true
154154
tracks/5/keys = {
155-
"times": PackedFloat32Array(0),
156-
"transitions": PackedFloat32Array(1),
155+
"times": PackedFloat32Array(0, 0.1),
156+
"transitions": PackedFloat32Array(1, 1),
157157
"update": 1,
158-
"values": [-1]
158+
"values": [-1, 0]
159159
}
160160

161161
[sub_resource type="AnimationLibrary" id="AnimationLibrary_niflf"]

0 commit comments

Comments
 (0)