summaryrefslogtreecommitdiff
path: root/UI/GameOver.tscn
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-06-18 16:43:22 +0200
committerDaniel Weipert <code@drogueronin.de>2023-06-18 16:43:22 +0200
commit395c25b1fbe51f42decf402f97e51eabcc8c0a77 (patch)
tree72a17c71a39b53d328a76e111ae205d9538d64d0 /UI/GameOver.tscn
parent2686ec6d4af6b5437a5f5a5cac008f3d38295f78 (diff)
Godot v3 -> v4
Diffstat (limited to 'UI/GameOver.tscn')
-rw-r--r--UI/GameOver.tscn102
1 files changed, 74 insertions, 28 deletions
diff --git a/UI/GameOver.tscn b/UI/GameOver.tscn
index 67d985d..7ab36bf 100644
--- a/UI/GameOver.tscn
+++ b/UI/GameOver.tscn
@@ -1,45 +1,91 @@
-[gd_scene load_steps=6 format=2]
+[gd_scene load_steps=6 format=3 uid="uid://dryan50dg0um0"]
-[ext_resource path="res://Assets/Fonts/impact-label/Impact_Label_Reversed.ttf" type="DynamicFontData" id=1]
-[ext_resource path="res://Assets/Fonts/geometry-soft-pro/Geometry_Soft_Pro-Bold_N.otf" type="DynamicFontData" id=2]
-[ext_resource path="res://UI/GameOver.gd" type="Script" id=3]
+[ext_resource type="FontFile" uid="uid://c8r0x3spdh8sg" path="res://Assets/Fonts/impact-label/Impact_Label_Reversed.ttf" id="1"]
+[ext_resource type="FontFile" uid="uid://qbiaulowpomb" path="res://Assets/Fonts/geometry-soft-pro/Geometry_Soft_Pro-Bold_N.otf" id="2"]
+[ext_resource type="Script" path="res://UI/GameOver.gd" id="3"]
-[sub_resource type="DynamicFont" id=1]
-size = 144
-font_data = ExtResource( 1 )
+[sub_resource type="FontFile" id="1"]
+fallbacks = Array[Font]([ExtResource("1")])
+face_index = null
+embolden = null
+transform = null
+cache/0/16/0/ascent = 0.0
+cache/0/16/0/descent = 0.0
+cache/0/16/0/underline_position = 0.0
+cache/0/16/0/underline_thickness = 0.0
+cache/0/16/0/scale = 1.0
+cache/0/16/0/kerning_overrides/16/0 = Vector2(0, 0)
+cache/0/16/0/kerning_overrides/72/0 = Vector2(0, 0)
+cache/0/16/0/kerning_overrides/128/0 = Vector2(0, 0)
+cache/0/72/0/ascent = 0.0
+cache/0/72/0/descent = 0.0
+cache/0/72/0/underline_position = 0.0
+cache/0/72/0/underline_thickness = 0.0
+cache/0/72/0/scale = 1.0
+cache/0/72/0/kerning_overrides/16/0 = Vector2(0, 0)
+cache/0/72/0/kerning_overrides/72/0 = Vector2(0, 0)
+cache/0/72/0/kerning_overrides/128/0 = Vector2(0, 0)
+cache/0/128/0/ascent = 0.0
+cache/0/128/0/descent = 0.0
+cache/0/128/0/underline_position = 0.0
+cache/0/128/0/underline_thickness = 0.0
+cache/0/128/0/scale = 1.0
+cache/0/128/0/kerning_overrides/16/0 = Vector2(0, 0)
+cache/0/128/0/kerning_overrides/72/0 = Vector2(0, 0)
+cache/0/128/0/kerning_overrides/128/0 = Vector2(0, 0)
-[sub_resource type="DynamicFont" id=2]
-size = 36
-font_data = ExtResource( 2 )
+[sub_resource type="FontFile" id="2"]
+fallbacks = Array[Font]([ExtResource("2")])
+face_index = null
+embolden = null
+transform = null
+cache/0/16/0/ascent = 0.0
+cache/0/16/0/descent = 0.0
+cache/0/16/0/underline_position = 0.0
+cache/0/16/0/underline_thickness = 0.0
+cache/0/16/0/scale = 1.0
+cache/0/16/0/kerning_overrides/16/0 = Vector2(0, 0)
+cache/0/16/0/kerning_overrides/72/0 = Vector2(0, 0)
+cache/0/72/0/ascent = 0.0
+cache/0/72/0/descent = 0.0
+cache/0/72/0/underline_position = 0.0
+cache/0/72/0/underline_thickness = 0.0
+cache/0/72/0/scale = 1.0
+cache/0/72/0/kerning_overrides/16/0 = Vector2(0, 0)
+cache/0/72/0/kerning_overrides/72/0 = Vector2(0, 0)
[node name="GameOver" type="Panel"]
+anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
-script = ExtResource( 3 )
-__meta__ = {
-"_edit_use_anchors_": false
-}
+script = ExtResource("3")
[node name="Title" type="Label" parent="."]
-margin_left = 112.0
-margin_top = 56.0
-margin_right = 891.0
-margin_bottom = 200.0
-custom_fonts/font = SubResource( 1 )
+layout_mode = 0
+offset_left = 219.0
+offset_top = 95.0
+offset_right = 913.0
+offset_bottom = 226.0
+theme_override_fonts/font = SubResource("1")
+theme_override_font_sizes/font_size = 128
text = "GAME OVER"
[node name="Winner" type="Label" parent="."]
-margin_left = 400.0
-margin_top = 264.0
-margin_right = 585.0
-margin_bottom = 301.0
-custom_fonts/font = SubResource( 2 )
+layout_mode = 0
+offset_left = 394.0
+offset_top = 268.0
+offset_right = 763.0
+offset_bottom = 345.0
+theme_override_fonts/font = SubResource("2")
+theme_override_font_sizes/font_size = 72
text = "NAME won!"
[node name="BackToLobby" type="Button" parent="."]
-margin_left = 448.0
-margin_top = 464.0
-margin_right = 576.0
-margin_bottom = 496.0
+layout_mode = 0
+offset_left = 500.0
+offset_top = 447.0
+offset_right = 628.0
+offset_bottom = 479.0
text = "Back to Lobby"
+
[connection signal="pressed" from="BackToLobby" to="." method="_on_BackToLobby_pressed"]