-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathleaf_scene.tscn
85 lines (78 loc) · 2.55 KB
/
leaf_scene.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
[gd_scene load_steps=6 format=2]
[ext_resource path="res://assets/leaf1.png" type="Texture" id=1]
[ext_resource path="res://scripts/LeafGrowth.gd" type="Script" id=2]
[sub_resource type="Gradient" id=1]
offsets = PoolRealArray( 0.137566, 1 )
colors = PoolColorArray( 0.910156, 0.699505, 0.0675507, 1, 0.761719, 0.0624847, 0.0624847, 1 )
[sub_resource type="Animation" id=2]
resource_name = "Fall1"
length = 3.0
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath(".:transform")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 1.5 ),
"transitions": PoolRealArray( -2, -2 ),
"update": 0,
"values": [ Transform( 0, 1, 0, 0, 0, -1, -1, 0, 0, 0, 0, 0 ), Transform( 0, 1, 0, 0, 0, -1, -1, 0, 0, -1, -0.3, 0 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath(".:rotation_degrees")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0, 1.5 ),
"transitions": PoolRealArray( -2, -1.93187 ),
"update": 0,
"values": [ Vector3( 65, 90, 0 ), Vector3( 115, 90, 0 ) ]
}
[sub_resource type="Animation" id=3]
resource_name = "PreDrop"
length = 2.0
tracks/0/type = "value"
tracks/0/path = NodePath(".:rotation_degrees")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 2 ),
"transitions": PoolRealArray( 2.54912, 1 ),
"update": 0,
"values": [ Vector3( 90, 90, 0 ), Vector3( 55, 90, 0 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath(".:transform")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Transform( 0, 1, 0, 0, 0, -1, -1, 0, 0, 0, 0, 0 ) ]
}
[node name="Spatial" type="Spatial"]
[node name="Sprite3D" type="Sprite3D" parent="."]
transform = Transform( -4.37114e-08, 0.99999, -4.3711e-08, 0, -4.3711e-08, -0.99999, -1, -4.3711e-08, 1.91067e-15, 0, 0, 0 )
offset = Vector2( 0, -60 )
pixel_size = 0.0001
shaded = true
texture = ExtResource( 1 )
script = ExtResource( 2 )
life_color = Color( 0.415686, 0.745098, 0.188235, 1 )
death_color = Color( 0.501961, 0.462745, 0.407843, 1 )
disease_color = Color( 0.478431, 0.384314, 0.278431, 1 )
healthy_death_color_gradient = SubResource( 1 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="Sprite3D"]
reset_on_save = false
playback_default_blend_time = 1.0
anims/Fall1 = SubResource( 2 )
anims/PreDrop = SubResource( 3 )