Frontier-of-Hell/scenes/ui/victory.tscn

58 lines
1.7 KiB
Text
Raw Normal View History

2023-10-21 18:29:42 +02:00
[gd_scene load_steps=4 format=3 uid="uid://r8kq68v8iflb"]
2023-10-17 19:22:16 +02:00
[ext_resource type="Texture2D" uid="uid://bbll7rkbty50k" path="res://assets/icons/victory.png" id="1_3fse5"]
2023-10-19 15:20:13 +02:00
[ext_resource type="Script" path="res://scripts/ui/victory.gd" id="1_qdex0"]
2023-10-21 18:29:42 +02:00
[ext_resource type="AudioStream" uid="uid://b6sp0yj21vn17" path="res://assets/audio/victory.mp3" id="3_ya7rd"]
2023-10-17 19:22:16 +02:00
[node name="Victory" type="Control"]
2023-10-19 15:20:13 +02:00
process_mode = 2
2023-10-17 19:22:16 +02:00
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
2023-10-19 15:20:13 +02:00
script = ExtResource("1_qdex0")
2023-10-17 19:22:16 +02:00
[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="MarginContainer" type="MarginContainer" parent="Panel"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="VBoxContainer" type="VBoxContainer" parent="Panel/MarginContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 6
text = "VICTORY"
[node name="TextureRect" type="TextureRect" parent="Panel/MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
texture = ExtResource("1_3fse5")
2023-10-19 15:20:13 +02:00
[node name="NextStage" type="Button" parent="Panel/MarginContainer/VBoxContainer"]
2023-10-17 19:22:16 +02:00
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 6
text = "Next Stage"
2023-10-19 15:20:13 +02:00
2023-10-21 18:29:42 +02:00
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("3_ya7rd")
volume_db = -30.0
2023-10-19 15:20:13 +02:00
[connection signal="pressed" from="Panel/MarginContainer/VBoxContainer/NextStage" to="." method="_on_next_stage_pressed"]