31 lines
849 B
Text
31 lines
849 B
Text
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://scenes/hud.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://scenes/main.gd" type="Script" id=3]
|
|
|
|
[sub_resource type="Animation" id=2]
|
|
resource_name = "fade_out"
|
|
tracks/0/type = "value"
|
|
tracks/0/path = NodePath(".: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, 1 ),
|
|
"transitions": PoolRealArray( 1, 1 ),
|
|
"update": 0,
|
|
"values": [ 10.0, -80.0 ]
|
|
}
|
|
|
|
[node name="Main" type="Node2D"]
|
|
script = ExtResource( 3 )
|
|
level_path = "res://scenes/levels/02/level_02.tscn"
|
|
|
|
[node name="HUD" parent="." instance=ExtResource( 1 )]
|
|
|
|
[node name="BGM" type="AudioStreamPlayer" parent="."]
|
|
volume_db = 10.0
|
|
|
|
[node name="Fader" type="AnimationPlayer" parent="BGM"]
|
|
anims/fade_out = SubResource( 2 )
|