Flopsy/scenes/main.tscn

32 lines
854 B
Text
Raw Normal View History

2022-07-17 14:24:15 +02:00
[gd_scene load_steps=4 format=2]
2022-07-18 12:58:38 +02:00
[ext_resource path="res://scenes/hud/hud.tscn" type="PackedScene" id=1]
2022-07-17 14:24:15 +02:00
[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,
2022-07-18 03:28:10 +02:00
"values": [ -5.0, -80.0 ]
2022-07-17 14:24:15 +02:00
}
[node name="Main" type="Node2D"]
script = ExtResource( 3 )
2022-07-19 18:11:23 +02:00
level_path = "res://scenes/levels/02/level_02.tscn"
2022-07-17 14:24:15 +02:00
[node name="HUD" parent="." instance=ExtResource( 1 )]
[node name="BGM" type="AudioStreamPlayer" parent="."]
2022-07-18 03:28:10 +02:00
volume_db = -20.0
2022-07-17 14:24:15 +02:00
[node name="Fader" type="AnimationPlayer" parent="BGM"]
anims/fade_out = SubResource( 2 )