80 lines
2.1 KiB
Plaintext
80 lines
2.1 KiB
Plaintext
[gd_scene load_steps=7 format=3 uid="uid://bm04qp5vgbi10"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/Flag.gd" id="1_3p67j"]
|
|
[ext_resource type="AudioStream" uid="uid://dw00kc3yup8bh" path="res://assets/sounds/52ac54_super_mario_bros_stage_clear_sound_effect.mp3" id="2_4f78k"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ihwdr"]
|
|
size = Vector2(6, 201)
|
|
|
|
[sub_resource type="Animation" id="Animation_ufkda"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("AudioStreamPlayer:playing")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [false]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_ivwqs"]
|
|
resource_name = "change_scene"
|
|
length = 6.0
|
|
tracks/0/type = "method"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(6),
|
|
"transitions": PackedFloat32Array(1),
|
|
"values": [{
|
|
"args": [],
|
|
"method": &"load_new_scene"
|
|
}]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("AudioStreamPlayer:playing")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [true]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_adywb"]
|
|
_data = {
|
|
"RESET": SubResource("Animation_ufkda"),
|
|
"change_scene": SubResource("Animation_ivwqs")
|
|
}
|
|
|
|
[node name="Flag" type="Area2D"]
|
|
position = Vector2(3176, -19)
|
|
collision_layer = 32769
|
|
collision_mask = 2
|
|
script = ExtResource("1_3p67j")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2(0, -98.5)
|
|
shape = SubResource("RectangleShape2D_ihwdr")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
libraries = {
|
|
"": SubResource("AnimationLibrary_adywb")
|
|
}
|
|
|
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource("2_4f78k")
|
|
volume_db = -5.0
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|