mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 15:38:14 +00:00

- Fixed Disclaimer Screen not playing Sound Effects loaded from the Resource Pack - Fixed Quit Dialog not playing Beep.wav loaded from Resource Packs - Fixed the Campaign Icons not loading the Resource Pack textures (in fairness the only icon applicable is the Custom Levels one)
113 lines
3.0 KiB
Plaintext
113 lines
3.0 KiB
Plaintext
[gd_scene load_steps=7 format=3 uid="uid://b75f3fd7xjeya"]
|
|
|
|
[ext_resource type="Script" uid="uid://fwgm5xy4jvwf" path="res://Scripts/UI/QuitDialog.gd" id="1_w3irg"]
|
|
[ext_resource type="AudioStream" uid="uid://drs3md0tuek2w" path="res://Assets/Audio/SFX/Beep.wav" id="2_yapnp"]
|
|
[ext_resource type="Script" uid="uid://bsp584niccobr" path="res://Scripts/Classes/Components/ResourceGetter.gd" id="3_kfsue"]
|
|
|
|
[sub_resource type="Animation" id="Animation_yapnp"]
|
|
resource_name = "Animation"
|
|
length = 2.0
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Label:text")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.5, 1, 1.5),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
|
"update": 1,
|
|
"values": ["QUITTING GAME", "QUITTING GAME.", "QUITTING GAME..", "QUITTING GAME..."]
|
|
}
|
|
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.5, 1, 1.5000001),
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
|
"update": 1,
|
|
"values": [true, true, true]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_kfsue"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Label:text")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": ["QUITTING GAME..."]
|
|
}
|
|
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": [false]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_fbj8r"]
|
|
_data = {
|
|
&"Animation": SubResource("Animation_yapnp"),
|
|
&"RESET": SubResource("Animation_kfsue")
|
|
}
|
|
|
|
[node name="QuitDialog" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_w3irg")
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
color = Color(0, 0, 0, 0.5)
|
|
|
|
[node name="Label" type="Label" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -68.0
|
|
offset_top = -8.0
|
|
offset_right = 68.0
|
|
offset_bottom = 8.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
|
text = "QUITTING GAME..."
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_fbj8r")
|
|
}
|
|
|
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource("2_yapnp")
|
|
|
|
[node name="ResourceGetter" type="Node" parent="."]
|
|
script = ExtResource("3_kfsue")
|
|
metadata/_custom_type_script = "uid://bsp584niccobr"
|