ld58-collector/score_screen.tscn
2025-10-05 22:31:50 -07:00

63 lines
2 KiB
Text

[gd_scene load_steps=6 format=3 uid="uid://bcnpjrwddi5h8"]
[ext_resource type="Theme" uid="uid://d2rlcffg7nguy" path="res://menus.tres" id="1_3r2db"]
[ext_resource type="Script" uid="uid://cp71ivjeuuaaf" path="res://score_screen.gd" id="1_cyy7t"]
[ext_resource type="Texture2D" uid="uid://cabsfveh1oc6i" path="res://assets/menus/final score/morshu-happy-large.png" id="1_juxjb"]
[ext_resource type="Texture2D" uid="uid://d24dlalqmr6r0" path="res://assets/menus/final score/morshu-anger-large.png" id="2_3r2db"]
[ext_resource type="Script" uid="uid://bmn6cds78753q" path="res://hotline_miami.gd" id="4_joumd"]
[node name="ScoreScreen" type="Node2D"]
script = ExtResource("1_cyy7t")
[node name="Control" type="Control" parent="."]
layout_mode = 3
anchors_preset = 0
offset_right = 1280.0
offset_bottom = 720.0
[node name="ColorRect" type="ColorRect" parent="Control"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.18431373, 0.09411765, 0.10980392, 1)
[node name="RichTextLabel" type="RichTextLabel" parent="Control"]
layout_mode = 1
anchors_preset = 4
anchor_top = 0.5
anchor_bottom = 0.5
offset_left = 64.0
offset_top = -175.0
offset_right = 545.0
offset_bottom = 175.0
grow_vertical = 2
theme = ExtResource("1_3r2db")
text = "Press any key to restart"
horizontal_alignment = 1
vertical_alignment = 1
[node name="MorshoReactManager" type="Node2D" parent="."]
texture_filter = 1
position = Vector2(870, 360)
scale = Vector2(2.5, 2.5)
script = ExtResource("4_joumd")
viewport_x_div = 1.5
viewport_y_div = 2.0
[node name="MorshoHappy" type="Sprite2D" parent="MorshoReactManager"]
texture = ExtResource("1_juxjb")
[node name="MorshoAngry" type="Sprite2D" parent="MorshoReactManager"]
visible = false
texture = ExtResource("2_3r2db")
[node name="WinLossAudioPlayer" type="AudioStreamPlayer" parent="."]
unique_name_in_owner = true
[node name="Timer" type="Timer" parent="."]
wait_time = 3.0
one_shot = true
autostart = true