summaryrefslogtreecommitdiff
path: root/scenes/gameover.tscn
diff options
context:
space:
mode:
authorJacob Janzen <jacob.a.s.janzen@gmail.com>2024-11-16 20:01:00 -0600
committerJacob Janzen <jacob.a.s.janzen@gmail.com>2024-11-16 20:01:00 -0600
commit73f8e11d939ffbffbc7e7fc96673d09f28c90647 (patch)
tree0b02161f3580cdce40ee86d3c33a23918cd8f4cc /scenes/gameover.tscn
parent87d20544d53adab42753bb10eddb955cf7957290 (diff)
add gameover screen
Diffstat (limited to 'scenes/gameover.tscn')
-rw-r--r--scenes/gameover.tscn43
1 files changed, 43 insertions, 0 deletions
diff --git a/scenes/gameover.tscn b/scenes/gameover.tscn
new file mode 100644
index 0000000..229672c
--- /dev/null
+++ b/scenes/gameover.tscn
@@ -0,0 +1,43 @@
+[gd_scene load_steps=6 format=3 uid="uid://be813saajvxxs"]
+
+[ext_resource type="Texture2D" uid="uid://dobiydav6k32e" path="res://UI/GameOverScreen.png" id="1_60m3n"]
+[ext_resource type="Script" path="res://scenes/gameover.gd" id="1_clwwq"]
+[ext_resource type="Texture2D" uid="uid://dje61ck7cl66a" path="res://UI/minimizebuttonpressed.png" id="2_j8fs8"]
+[ext_resource type="Texture2D" uid="uid://brlgi3g1hy155" path="res://UI/xbuttonpressed.png" id="2_wb6l8"]
+[ext_resource type="Theme" uid="uid://ve18rbkeiwti" path="res://UI/text.tres" id="4_kotik"]
+
+[node name="Node2D" type="Node2D"]
+script = ExtResource("1_clwwq")
+
+[node name="Sprite2D" type="Sprite2D" parent="."]
+position = Vector2(640, 359)
+scale = Vector2(0.666, 0.666)
+texture = ExtResource("1_60m3n")
+
+[node name="Close" type="TextureButton" parent="."]
+offset_left = 1241.0
+offset_top = 11.0
+offset_right = 1281.0
+offset_bottom = 51.0
+scale = Vector2(0.65, 0.65)
+texture_pressed = ExtResource("2_wb6l8")
+
+[node name="Minimize" type="TextureButton" parent="."]
+offset_left = 1213.0
+offset_top = 11.0
+offset_right = 1253.0
+offset_bottom = 51.0
+scale = Vector2(0.66, 0.66)
+texture_pressed = ExtResource("2_j8fs8")
+
+[node name="Label" type="Label" parent="."]
+offset_left = 32.0
+offset_top = 625.0
+offset_right = 332.0
+offset_bottom = 690.0
+theme = ExtResource("4_kotik")
+text = "You made $
+You lost $"
+
+[connection signal="button_up" from="Close" to="." method="_on_close_button_up"]
+[connection signal="button_up" from="Minimize" to="." method="_on_minimize_button_up"]