ld55/src3/GameOver/game_over.tscn

65 lines
1.8 KiB
Plaintext
Raw Normal View History

2024-04-14 15:43:40 +00:00
[gd_scene load_steps=4 format=3 uid="uid://c3brx1b41l0io"]
[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"]
[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
"
[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"]