goodnight_jellybean/godot/assets/audio/AmbientSound.tscn

129 lines
3.6 KiB
Plaintext
Raw Normal View History

2023-01-01 02:23:56 -07:00
[gd_scene load_steps=13 format=2]
[ext_resource path="res://assets/audio/sicky_drone.ogg" type="AudioStream" id=1]
[ext_resource path="res://assets/audio/vocal_drone.ogg" type="AudioStream" id=2]
[ext_resource path="res://assets/audio/AmbientSound.gd" type="Script" id=3]
[sub_resource type="Animation" id=1]
length = 0.001
tracks/0/type = "value"
tracks/0/path = NodePath("NormalDrone:volume_db")
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": [ -10.0 ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("SicklyDrone:volume_db")
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": [ -10.0 ]
}
[sub_resource type="Animation" id=2]
resource_name = "play_normal_drone"
tracks/0/type = "value"
tracks/0/path = NodePath("NormalDrone:volume_db")
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": [ -10.0 ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("SicklyDrone:volume_db")
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": [ -50.0 ]
}
[sub_resource type="Animation" id=3]
resource_name = "play_sickly_drone"
tracks/0/type = "value"
tracks/0/path = NodePath("NormalDrone:volume_db")
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": [ -50.0 ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("SicklyDrone:volume_db")
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": [ -10.0 ]
}
[sub_resource type="AnimationNodeAnimation" id=4]
animation = "play_normal_drone"
[sub_resource type="AnimationNodeAnimation" id=5]
animation = "play_sickly_drone"
[sub_resource type="AnimationNodeStateMachineTransition" id=6]
[sub_resource type="AnimationNodeStateMachineTransition" id=7]
[sub_resource type="AnimationNodeStateMachine" id=8]
states/play_normal_drone/node = SubResource( 4 )
states/play_normal_drone/position = Vector2( 336, 128 )
states/play_sickly_drone/node = SubResource( 5 )
states/play_sickly_drone/position = Vector2( 683, 227 )
transitions = [ "play_normal_drone", "play_sickly_drone", SubResource( 6 ), "play_sickly_drone", "play_normal_drone", SubResource( 7 ) ]
start_node = "play_normal_drone"
[sub_resource type="AnimationNodeStateMachinePlayback" id=9]
[node name="AmbientSound" type="Node"]
script = ExtResource( 3 )
[node name="NormalDrone" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 2 )
volume_db = -10.0
[node name="SicklyDrone" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 1 )
volume_db = -10.0
[node name="DroneAudioAnimation" type="AnimationPlayer" parent="."]
anims/RESET = SubResource( 1 )
anims/play_normal_drone = SubResource( 2 )
anims/play_sickly_drone = SubResource( 3 )
[node name="DroneAudioFSM" type="AnimationTree" parent="."]
tree_root = SubResource( 8 )
anim_player = NodePath("../DroneAudioAnimation")
active = true
parameters/playback = SubResource( 9 )