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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
|
[gd_scene load_steps=10 format=2]
[ext_resource path="res://Scenes/Crystal.gd" type="Script" id=1]
[ext_resource path="res://Assets/Environment/crystal.gltf" type="PackedScene" id=2]
[ext_resource path="res://Assets/blob_shadow.png" type="Texture" id=3]
[ext_resource path="res://Assets/Sound/crystal.wav" type="AudioStream" id=4]
[sub_resource type="PrismMesh" id=3]
size = Vector3( 1, 1, 1 )
[sub_resource type="SpatialMaterial" id=2]
resource_local_to_scene = true
albedo_color = Color( 0.819608, 0.858824, 0.921569, 1 )
[sub_resource type="Animation" id=4]
resource_name = "Activate"
length = 0.5
tracks/0/type = "value"
tracks/0/path = NodePath("crystal:translation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.5 ),
"transitions": PoolRealArray( 0.594604, 0.392292 ),
"update": 0,
"values": [ Vector3( 0, 0, 0 ), Vector3( 0, 0.64478, 0 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("Sprite3D:scale")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0, 0.5 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector3( 2.5, 2.5, 1 ), Vector3( 2, 2, 1 ) ]
}
[sub_resource type="Animation" id=5]
resource_name = "Active"
length = 4.0
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("crystal:translation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 1, 2, 3 ),
"transitions": PoolRealArray( -2, -2, -2, -2 ),
"update": 0,
"values": [ Vector3( 0, 0.64478, 0 ), Vector3( 0, 0.4, 0 ), Vector3( 0, 0.64478, 0 ), Vector3( 0, 0.4, 0 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("crystal: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, 4 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector3( 0, 0, 0 ), Vector3( 0, 360, 0 ) ]
}
[sub_resource type="Animation" id=6]
length = 0.001
tracks/0/type = "value"
tracks/0/path = NodePath("crystal:translation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector3( 0, 0, 0 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("crystal: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 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector3( 0, 0, 0 ) ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("Sprite3D:scale")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector3( 2.5, 2.5, 1 ) ]
}
[node name="Crystal" type="Spatial"]
script = ExtResource( 1 )
actionable = true
active_color = Color( 0.564706, 0.294118, 1, 1 )
[node name="Mesh" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0 )
visible = false
mesh = SubResource( 3 )
material/0 = SubResource( 2 )
[node name="crystal" parent="." instance=ExtResource( 2 )]
transform = Transform( 0.374, 0, 0, 0, 0.314, 0, 0, 0, 0.25, 0, 0, 0 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
anims/Activate = SubResource( 4 )
anims/Active = SubResource( 5 )
anims/RESET = SubResource( 6 )
[node name="Sprite3D" type="Sprite3D" parent="."]
transform = Transform( 2.5, 0, 0, 0, -1.09278e-07, -1, 0, 2.5, -4.37114e-08, 0, 0.001, 0 )
modulate = Color( 0, 0, 0, 0.435294 )
texture = ExtResource( 3 )
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 4 )
volume_db = -20.0
pitch_scale = 0.7
|