starfighter/MB_FYP/scenes/ui/game_over.tscn

75 lines
2.2 KiB
Plaintext
Raw Permalink Normal View History

[gd_scene load_steps=8 format=3 uid="uid://dkyw6ve8ll885"]
[ext_resource type="FontFile" uid="uid://be6xxaq8drt5q" path="res://assets/Fonts/Kenney Pixel Square.ttf" id="1_gbk3f"]
[ext_resource type="Script" path="res://script/ui/game_over.cs" id="1_mvgnc"]
[ext_resource type="FontFile" uid="uid://dtpvg4lmre10g" path="res://assets/Fonts/Kenney Future Narrow.ttf" id="2_65i3g"]
[ext_resource type="AudioStream" uid="uid://d4ebqwhtvkwvd" path="res://scenes/ui/ship_explode.ogg" id="4_am7ef"]
[sub_resource type="LabelSettings" id="LabelSettings_6mqtv"]
font = ExtResource("1_gbk3f")
font_size = 28
[sub_resource type="Theme" id="Theme_4c6ow"]
default_font = ExtResource("2_65i3g")
[sub_resource type="Theme" id="Theme_te0li"]
default_font = ExtResource("2_65i3g")
[node name="GameOver" type="CenterContainer"]
process_mode = 3
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -200.0
offset_top = -100.0
offset_right = 200.0
offset_bottom = 100.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_mvgnc")
[node name="ColorRect" type="ColorRect" parent="."]
custom_minimum_size = Vector2(400, 200)
layout_mode = 2
color = Color(0.231373, 0.219608, 0.203922, 1)
[node name="VBox" type="VBoxContainer" parent="."]
layout_mode = 2
[node name="Label" type="Label" parent="VBox"]
layout_mode = 2
text = "Game Over"
label_settings = SubResource("LabelSettings_6mqtv")
horizontal_alignment = 1
[node name="VSeparator" type="VSeparator" parent="VBox"]
visibility_layer = 0
custom_minimum_size = Vector2(0, 30)
layout_mode = 2
[node name="HBox" type="HBoxContainer" parent="VBox"]
layout_mode = 2
[node name="Retry" type="Button" parent="VBox/HBox"]
custom_minimum_size = Vector2(100, 0)
layout_mode = 2
theme = SubResource("Theme_4c6ow")
text = "Retry"
[node name="MainMenu" type="Button" parent="VBox/HBox"]
custom_minimum_size = Vector2(100, 0)
layout_mode = 2
theme = SubResource("Theme_te0li")
text = "Main Menu
"
[node name="VSeparator2" type="VSeparator" parent="VBox"]
visibility_layer = 0
custom_minimum_size = Vector2(0, 30)
layout_mode = 2
[node name="ExplodeSFX" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("4_am7ef")