mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 15:38:14 +00:00
224 lines
8.2 KiB
Plaintext
224 lines
8.2 KiB
Plaintext
[gd_scene load_steps=13 format=3 uid="uid://n2e3jgmkilvt"]
|
|
|
|
[ext_resource type="Script" uid="uid://djuvlj1dt0aay" path="res://Scripts/UI/MarathonResults.gd" id="1_1ama0"]
|
|
[ext_resource type="StyleBox" uid="uid://comkghpj0djcl" path="res://Resources/UI/Panel.tres" id="1_xyd63"]
|
|
[ext_resource type="Texture2D" uid="uid://dhu46wvad72wp" path="res://Assets/Sprites/UI/MarathonIcons.png" id="2_1ama0"]
|
|
[ext_resource type="PackedScene" uid="uid://bmn81e10obpjv" path="res://Scenes/Parts/SelectableLabel.tscn" id="4_7l60d"]
|
|
[ext_resource type="PackedScene" uid="uid://dntk2js0tu3y2" path="res://Scenes/Prefabs/UI/WorldSelect.tscn" id="7_nvyky"]
|
|
[ext_resource type="AudioStream" uid="uid://ekxoq3h38iuv" path="res://Assets/Audio/SFX/MarathonMedal.wav" id="7_orie5"]
|
|
[ext_resource type="PackedScene" uid="uid://bvgigoyn7lrc2" path="res://Scenes/Prefabs/UI/SpeedrunTypeSelect.tscn" id="8_nvyky"]
|
|
[ext_resource type="PackedScene" uid="uid://bsfkt344e6j38" path="res://Scenes/Prefabs/UI/LevelSelectNew.tscn" id="8_orie5"]
|
|
|
|
[sub_resource type="StyleBoxLine" id="StyleBoxLine_3vn76"]
|
|
color = Color(1, 1, 1, 1)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_q1rpx"]
|
|
atlas = ExtResource("2_1ama0")
|
|
region = Rect2(96, 24, 8, 8)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ldcu6"]
|
|
atlas = ExtResource("2_1ama0")
|
|
region = Rect2(96, 16, 24, 8)
|
|
|
|
[sub_resource type="StyleBoxLine" id="StyleBoxLine_v87cy"]
|
|
color = Color(1, 1, 1, 1)
|
|
|
|
[node name="MarathonResults" 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_1ama0")
|
|
|
|
[node name="PanelContainer" type="PanelContainer" 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 = -79.0
|
|
offset_top = -66.0
|
|
offset_right = 79.0
|
|
offset_bottom = 66.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_styles/panel = ExtResource("1_xyd63")
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="PanelContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
text = "YOUR RESULTS"
|
|
|
|
[node name="HSeparator" type="HSeparator" parent="PanelContainer/VBoxContainer/Label"]
|
|
layout_mode = 1
|
|
anchors_preset = 12
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_top = -4.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 0
|
|
theme_override_styles/separator = SubResource("StyleBoxLine_3vn76")
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 0
|
|
|
|
[node name="Title" type="Label" parent="PanelContainer/VBoxContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
text = "TIME:"
|
|
|
|
[node name="Medal" type="TextureRect" parent="PanelContainer/VBoxContainer/HBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 10
|
|
size_flags_vertical = 4
|
|
texture = SubResource("AtlasTexture_q1rpx")
|
|
stretch_mode = 3
|
|
|
|
[node name="Full" type="NinePatchRect" parent="PanelContainer/VBoxContainer/HBoxContainer/Medal"]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
texture = SubResource("AtlasTexture_ldcu6")
|
|
region_rect = Rect2(16, 0, 8, 8)
|
|
|
|
[node name="Time" type="Label" parent="PanelContainer/VBoxContainer/HBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 10
|
|
text = "00:00:00"
|
|
|
|
[node name="HBoxContainer2" type="HBoxContainer" parent="PanelContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Title" type="Label" parent="PanelContainer/VBoxContainer/HBoxContainer2"]
|
|
layout_mode = 2
|
|
text = "PB:"
|
|
|
|
[node name="PB" type="Label" parent="PanelContainer/VBoxContainer/HBoxContainer2"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 10
|
|
text = "--:--:--"
|
|
|
|
[node name="NewPB" type="HBoxContainer" parent="PanelContainer/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
|
|
[node name="Time" type="Label" parent="PanelContainer/VBoxContainer/NewPB"]
|
|
modulate = Color(0, 0.99912035, 0, 1)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 10
|
|
text = "NEW PB!"
|
|
|
|
[node name="HBoxContainer3" type="HBoxContainer" parent="PanelContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Title" type="Label" parent="PanelContainer/VBoxContainer/HBoxContainer3"]
|
|
layout_mode = 2
|
|
text = "TARGET:"
|
|
|
|
[node name="Target" type="Label" parent="PanelContainer/VBoxContainer/HBoxContainer3"]
|
|
unique_name_in_owner = true
|
|
modulate = Color(1, 0.69803923, 0.34901962, 1)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 10
|
|
text = "00:00:00"
|
|
|
|
[node name="HSeparator" type="HSeparator" parent="PanelContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_styles/separator = SubResource("StyleBoxLine_v87cy")
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="PanelContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 4
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer/VBoxContainer/MarginContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Restart" parent="PanelContainer/VBoxContainer/MarginContainer/VBoxContainer" instance=ExtResource("4_7l60d")]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
text = "RETRY"
|
|
|
|
[node name="LevelSelect" parent="PanelContainer/VBoxContainer/MarginContainer/VBoxContainer" instance=ExtResource("4_7l60d")]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
text = "LEVEL SELECT"
|
|
|
|
[node name="Return" parent="PanelContainer/VBoxContainer/MarginContainer/VBoxContainer" instance=ExtResource("4_7l60d")]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
text = "RETURN TO MENU"
|
|
|
|
[node name="WorldSelect" parent="." instance=ExtResource("7_nvyky")]
|
|
visible = false
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -90.0
|
|
offset_top = -32.5
|
|
offset_right = 90.0
|
|
offset_bottom = 32.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="LevelSelect" parent="." instance=ExtResource("8_orie5")]
|
|
visible = false
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -128.0
|
|
offset_top = -40.0
|
|
offset_right = 128.0
|
|
offset_bottom = 40.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
has_speedrun_stuff = true
|
|
|
|
[node name="PBSfx" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource("7_orie5")
|
|
bus = &"SFX"
|
|
|
|
[node name="SpeedrunTypeSelect" parent="." instance=ExtResource("8_nvyky")]
|
|
visible = false
|
|
layout_mode = 1
|
|
|
|
[node name="SpeedrunTypeSelectLevelSelect" parent="." instance=ExtResource("8_nvyky")]
|
|
visible = false
|
|
layout_mode = 1
|
|
|
|
[connection signal="pressed" from="PanelContainer/VBoxContainer/MarginContainer/VBoxContainer/Restart" to="." method="check_for_warp"]
|
|
[connection signal="pressed" from="PanelContainer/VBoxContainer/MarginContainer/VBoxContainer/Restart" to="." method="set_focus" binds= [false]]
|
|
[connection signal="pressed" from="PanelContainer/VBoxContainer/MarginContainer/VBoxContainer/LevelSelect" to="WorldSelect" method="open"]
|
|
[connection signal="pressed" from="PanelContainer/VBoxContainer/MarginContainer/VBoxContainer/LevelSelect" to="." method="set_focus" binds= [false]]
|
|
[connection signal="pressed" from="PanelContainer/VBoxContainer/MarginContainer/VBoxContainer/Return" to="." method="go_to_menu"]
|
|
[connection signal="pressed" from="PanelContainer/VBoxContainer/MarginContainer/VBoxContainer/Return" to="." method="close"]
|
|
[connection signal="cancelled" from="WorldSelect" to="." method="return_focus"]
|
|
[connection signal="cancelled" from="WorldSelect" to="." method="set_focus" binds= [true]]
|
|
[connection signal="world_selected" from="WorldSelect" to="LevelSelect" method="open"]
|
|
[connection signal="cancelled" from="LevelSelect" to="WorldSelect" method="open"]
|
|
[connection signal="level_selected" from="LevelSelect" to="." method="check_for_warp_level_select_edition"]
|
|
[connection signal="cancelled" from="SpeedrunTypeSelect" to="." method="return_focus"]
|
|
[connection signal="cancelled" from="SpeedrunTypeSelect" to="." method="set_focus" binds= [true]]
|
|
[connection signal="selected" from="SpeedrunTypeSelect" to="." method="restart_level"]
|
|
[connection signal="cancelled" from="SpeedrunTypeSelectLevelSelect" to="." method="return_focus"]
|
|
[connection signal="cancelled" from="SpeedrunTypeSelectLevelSelect" to="." method="set_focus" binds= [true]]
|
|
[connection signal="selected" from="SpeedrunTypeSelectLevelSelect" to="." method="restart_level"]
|