petoriaware/petoriaware/scenes/intermission.tscn
2025-01-29 12:00:28 -08:00

302 lines
9.7 KiB
Text

[gd_scene load_steps=22 format=3 uid="uid://dgcm6ac36bgj"]
[ext_resource type="AudioStream" uid="uid://dyeyhl1vyr6pm" path="res://sounds/intermission/interm.ogg" id="1_22ejf"]
[ext_resource type="Script" path="res://scenes/intermission.gd" id="1_k6vf8"]
[ext_resource type="PackedScene" uid="uid://bp37lt4qode6h" path="res://scenes/life.tscn" id="2_ke6ur"]
[ext_resource type="FontFile" uid="uid://dsk6tm03m6x1m" path="res://MSMINCHO.TTF" id="3_r5hoo"]
[ext_resource type="Script" path="res://scenes/Aly1.gd" id="4_lsny4"]
[ext_resource type="Texture2D" uid="uid://dl0gtfmfjs8qb" path="res://sprites/aly1/bg.png" id="4_sgqge"]
[ext_resource type="Texture2D" uid="uid://bmdoc8hegl7x8" path="res://sprites/aly1/circle.png" id="5_kgdpj"]
[ext_resource type="Texture2D" uid="uid://v5p0k07i2kqj" path="res://sprites/aly1/aly.png" id="6_rvlvp"]
[ext_resource type="AudioStream" uid="uid://ta0ko526ywqq" path="res://sounds/aly1/aly1.ogg" id="9_0rycy"]
[ext_resource type="AudioStream" uid="uid://b3wonv8atgaad" path="res://sounds/aly1/boom.ogg" id="10_pi5il"]
[ext_resource type="AudioStream" uid="uid://bil5ixiwd5en2" path="res://sounds/aly1/success.ogg" id="11_yjn6w"]
[sub_resource type="FontVariation" id="FontVariation_3jri1"]
base_font = ExtResource("3_r5hoo")
variation_face_index = 1
variation_embolden = 1.34
[sub_resource type="Animation" id="Animation_tqrm2"]
resource_name = "exit_up"
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector3(0, 0, 0), Vector3(0, 0.8, 0.86)]
}
[sub_resource type="Animation" id="Animation_dcm41"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector3(0, 0, 0)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_tln81"]
_data = {
"RESET": SubResource("Animation_dcm41"),
"exit_up": SubResource("Animation_tqrm2")
}
[sub_resource type="Animation" id="Animation_y862t"]
resource_name = "exit_down"
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector3(0, 0, 0), Vector3(0, -4.725, 1.8)]
}
[sub_resource type="Animation" id="Animation_2qgqh"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector3(0, 0, 0)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_5s4ow"]
_data = {
"RESET": SubResource("Animation_2qgqh"),
"exit_down": SubResource("Animation_y862t")
}
[sub_resource type="Animation" id="Animation_j4qja"]
resource_name = "text_show"
length = 4.0
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0.8, 1.1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector3(0, 0.775, -3), Vector3(0.215, 0.775, -5)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath(".:modulate")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0.8, 1, 1.1, 3.1, 3.3),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 0), Color(1, 1, 1, 1), Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath(".:rotation")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0.8, 1.1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector3(0, 0, 0.0698132), Vector3(0, 0, 0)]
}
[sub_resource type="Animation" id="Animation_a3xu2"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector3(0, 0.775, -5)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath(".:modulate")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 1)]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath(".:rotation")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector3(0, 0, 0)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_fxdd7"]
_data = {
"RESET": SubResource("Animation_a3xu2"),
"text_show": SubResource("Animation_j4qja")
}
[node name="Intermission" type="Node3D" node_paths=PackedStringArray("top_anim", "bot_anim", "mg_aly1")]
script = ExtResource("1_k6vf8")
top_anim = NodePath("Intermission Top/AnimationPlayer")
bot_anim = NodePath("Intermission Bottom/AnimationPlayer")
mg_aly1 = NodePath("Minigame/Aly1")
[node name="MinigameTimer" type="Label3D" parent="."]
transform = Transform3D(5, 0, 0, 0, 5, 0, 0, 0, 5, -5.01, -3.558, -5)
billboard = 1
double_sided = false
texture_filter = 0
text = "ttttttttttttttttttttttttttttttttttt"
font = SubResource("FontVariation_3jri1")
font_size = 16
outline_size = 0
horizontal_alignment = 0
[node name="Camera3D" type="Camera3D" parent="."]
[node name="IntermissionMusic" type="AudioStreamPlayer" parent="."]
stream = ExtResource("1_22ejf")
autoplay = true
[node name="Intermission Top" type="Node3D" parent="."]
[node name="Number" type="Label3D" parent="Intermission Top"]
transform = Transform3D(20, 0, 0, 0, 20, 0, 0, 0, 20, 0, 3, -5)
billboard = 1
double_sided = false
texture_filter = 0
text = "00"
font = SubResource("FontVariation_3jri1")
font_size = 16
outline_size = 0
[node name="AnimationPlayer" type="AnimationPlayer" parent="Intermission Top"]
libraries = {
"": SubResource("AnimationLibrary_tln81")
}
[node name="Intermission Bottom" type="Node3D" parent="."]
[node name="Lives" type="Node3D" parent="Intermission Bottom"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -10)
[node name="Life1" parent="Intermission Bottom/Lives" instance=ExtResource("2_ke6ur")]
transform = Transform3D(0.3, 0, 0, 0, 0.3, 0, 0, 0, 0.3, -6.44, -4.335, 0)
[node name="Life2" parent="Intermission Bottom/Lives" instance=ExtResource("2_ke6ur")]
transform = Transform3D(0.3, 0, 0, 0, 0.3, 0, 0, 0, 0.3, -2.205, -4.335, 0)
[node name="Life3" parent="Intermission Bottom/Lives" instance=ExtResource("2_ke6ur")]
transform = Transform3D(0.3, 0, 0, 0, 0.3, 0, 0, 0, 0.3, 2.05, -4.335, 0)
[node name="Life4" parent="Intermission Bottom/Lives" instance=ExtResource("2_ke6ur")]
transform = Transform3D(0.3, 0, 0, 0, 0.3, 0, 0, 0, 0.3, 6.44, -4.335, 0)
[node name="AnimationPlayer" type="AnimationPlayer" parent="Intermission Bottom"]
libraries = {
"": SubResource("AnimationLibrary_5s4ow")
}
[node name="Instruction" type="Label3D" parent="."]
transform = Transform3D(9.835, 0, 0, 0, 9.835, 0, 0, 0, 9.835, 0, 0.775, -5)
double_sided = false
texture_filter = 0
text = "Dodge the attack!"
font = SubResource("FontVariation_3jri1")
font_size = 16
outline_size = 0
[node name="AnimationPlayer" type="AnimationPlayer" parent="Instruction"]
libraries = {
"": SubResource("AnimationLibrary_fxdd7")
}
autoplay = "text_show"
[node name="Minigame" type="Node3D" parent="."]
[node name="Aly1" type="Node3D" parent="Minigame"]
visible = false
script = ExtResource("4_lsny4")
[node name="Background" type="Sprite3D" parent="Minigame/Aly1"]
transform = Transform3D(6.465, 0, 0, 0, 6.465, 0, 0, 0, 6.465, 0, 0, -20)
modulate = Color(0.544974, 0.544974, 0.544974, 1)
texture = ExtResource("4_sgqge")
[node name="Circle" type="Sprite3D" parent="Minigame/Aly1"]
transform = Transform3D(4.36, 0, 0, 0, 4.36, 0, 0, 0, 4.36, 0, -5.595, -19)
texture = ExtResource("5_kgdpj")
[node name="Aly" type="Sprite3D" parent="Minigame/Aly1"]
transform = Transform3D(0.295, 0, 0, 0, 0.295, 0, 0, 0, 0.295, 0, -1.9, -10)
double_sided = false
texture = ExtResource("6_rvlvp")
[node name="Music" type="AudioStreamPlayer" parent="Minigame/Aly1"]
stream = ExtResource("9_0rycy")
[node name="ExplosionTimer" type="Timer" parent="Minigame/Aly1"]
wait_time = 3.0
one_shot = true
[node name="Boom" type="AudioStreamPlayer" parent="Minigame/Aly1"]
stream = ExtResource("10_pi5il")
volume_db = -4.685
[node name="Win" type="AudioStreamPlayer" parent="Minigame/Aly1"]
stream = ExtResource("11_yjn6w")
volume_db = -8.432
[node name="MinigameTransitionTimer" type="Timer" parent="."]
wait_time = 1.5
one_shot = true
autostart = true
[node name="MinigameStartTimer" type="Timer" parent="."]
wait_time = 2.0
one_shot = true
autostart = true
[connection signal="visibility_changed" from="Minigame/Aly1" to="Minigame/Aly1" method="_on_visibility_changed"]
[connection signal="timeout" from="Minigame/Aly1/ExplosionTimer" to="Minigame/Aly1" method="_on_explosion_timer_timeout"]
[connection signal="timeout" from="MinigameTransitionTimer" to="." method="_on_minigame_transition"]
[connection signal="timeout" from="MinigameStartTimer" to="." method="_on_minigame_start"]