2024-04-14 23:10:28 +00:00
|
|
|
[gd_scene load_steps=5 format=3 uid="uid://c3brx1b41l0io"]
|
2024-04-14 15:43:40 +00:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://GameOver/game_over.gd" id="1_o6k3r"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://2ld14yig6m07" path="res://Pentagram/pentagram.tscn" id="2_ajtpg"]
|
2024-04-14 23:10:28 +00:00
|
|
|
[ext_resource type="AudioStream" uid="uid://c8btv7n5lears" path="res://Assets/lose.ogg" id="3_n40u8"]
|
2024-04-14 15:43:40 +00:00
|
|
|
|
|
|
|
[sub_resource type="CanvasTexture" id="CanvasTexture_v15nk"]
|
|
|
|
|
|
|
|
[node name="GameOver" 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_o6k3r")
|
|
|
|
|
|
|
|
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
|
|
|
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="CanvasLayer"]
|
|
|
|
modulate = Color(0, 0, 0, 1)
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
size_flags_vertical = 3
|
|
|
|
texture = SubResource("CanvasTexture_v15nk")
|
|
|
|
|
|
|
|
[node name="Pentagram" parent="CanvasLayer" instance=ExtResource("2_ajtpg")]
|
|
|
|
position = Vector2(573, 311)
|
|
|
|
scale = Vector2(3, 3)
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer"]
|
|
|
|
anchors_preset = 8
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
offset_left = -148.0
|
|
|
|
offset_top = -143.0
|
|
|
|
offset_right = 155.0
|
|
|
|
offset_bottom = 90.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="CanvasLayer/VBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_vertical = 3
|
|
|
|
text = "GAME OVER
|
|
|
|
"
|
|
|
|
horizontal_alignment = 1
|
|
|
|
vertical_alignment = 1
|
|
|
|
|
|
|
|
[node name="TryAgainButton" type="Button" parent="CanvasLayer/VBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
text = "TRY AGAIN"
|
|
|
|
|
|
|
|
[node name="QuitButton" type="Button" parent="CanvasLayer/VBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
text = "QUIT
|
|
|
|
"
|
|
|
|
|
2024-04-14 23:10:28 +00:00
|
|
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
|
|
|
stream = ExtResource("3_n40u8")
|
|
|
|
autoplay = true
|
|
|
|
|
2024-04-14 15:43:40 +00:00
|
|
|
[connection signal="pressed" from="CanvasLayer/VBoxContainer/TryAgainButton" to="." method="_on_try_again_button_pressed"]
|
|
|
|
[connection signal="pressed" from="CanvasLayer/VBoxContainer/QuitButton" to="." method="_on_quit_button_pressed"]
|