[gd_scene load_steps=7 format=3 uid="uid://beoxoh1ke6vov"]

[ext_resource type="Script" uid="uid://qo2pqka035di" path="res://Scripts/ui_manager.gd" id="1_55h4n"]
[ext_resource type="Texture2D" uid="uid://bmm75ehlogeoq" path="res://Assets/Textures/beachScene.png" id="3_bgkf7"]

[sub_resource type="LabelSettings" id="LabelSettings_m35m6"]
font_size = 32

[sub_resource type="Theme" id="Theme_blom3"]

[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_m35m6"]
bg_color = Color(0, 0, 0, 1)
corner_radius_top_left = 100
corner_radius_top_right = 100
corner_radius_bottom_right = 100
corner_radius_bottom_left = 100

[sub_resource type="LabelSettings" id="LabelSettings_42l1d"]
font_size = 32

[node name="UIManager" type="CanvasLayer"]
script = ExtResource("1_55h4n")

[node name="WinScreen" type="TextureRect" parent="."]
offset_left = -9.0
offset_top = -10.0
offset_right = 920.0
offset_bottom = 704.0
scale = Vector2(1.4, 1.04)
texture = ExtResource("3_bgkf7")
expand_mode = 1

[node name="BestTimeLabel" type="Label" parent="WinScreen"]
layout_mode = 0
offset_left = 83.5715
offset_top = 450.961
offset_right = 384.572
offset_bottom = 495.961
text = "You win! Best Time:"
label_settings = SubResource("LabelSettings_m35m6")

[node name="Button" type="Button" parent="WinScreen"]
layout_mode = 0
offset_left = 94.2858
offset_top = 519.23
offset_right = 102.286
offset_bottom = 527.23
text = "Restart"

[node name="PanelContainer" type="PanelContainer" parent="."]
custom_minimum_size = Vector2(100, 100)
offset_right = 100.0
offset_bottom = 100.0
theme = SubResource("Theme_blom3")
theme_override_styles/panel = SubResource("StyleBoxFlat_m35m6")

[node name="TimeLabel" type="Label" parent="PanelContainer"]
layout_mode = 2
text = "0"
label_settings = SubResource("LabelSettings_42l1d")
horizontal_alignment = 1
vertical_alignment = 1

[connection signal="pressed" from="WinScreen/Button" to="." method="_on_button_pressed"]
