TowerDefense/UI/win_screen.tscn

50 lines
1.3 KiB
Text

[gd_scene load_steps=4 format=3 uid="uid://c4ipdjq2xej6j"]
[ext_resource type="Script" uid="uid://camwpkoj31gvn" path="res://UI/win_screen.gd" id="1_t25dr"]
[ext_resource type="AudioStream" uid="uid://cb568hyhs1eco" path="res://Assets/Audio/SFX/Voiceover/flawless_victory.ogg" id="2_7c84e"]
[sub_resource type="LabelSettings" id="LabelSettings_i0rmf"]
font_size = 70
[node name="WinScreen" 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_t25dr")
[node name="Panel" type="Panel" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[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 = -20.0
offset_top = -11.5
offset_right = 20.0
offset_bottom = 11.5
grow_horizontal = 2
grow_vertical = 2
text = "It's the week-end !"
label_settings = SubResource("LabelSettings_i0rmf")
[node name="Timer" type="Timer" parent="."]
wait_time = 3.0
autostart = true
[node name="SFXFlawlessVictory" type="AudioStreamPlayer" parent="."]
stream = ExtResource("2_7c84e")
bus = &"SFX"
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]