diff options
author | bd <bdunahu@operationnull.com> | 2025-05-25 00:42:34 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-05-25 00:42:34 -0400 |
commit | 15724430070a17ffb4e0fe3a0c3faa8c82fe64e2 (patch) | |
tree | 6c10cca48fdfb8bf2d429989d9cd496c775bca37 /scenes/game_over.tscn | |
parent | 6707c7331860d65eb0ac9bba56af34ea339026c9 (diff) |
Add game over screen, back to title, tower affordability indicators
Diffstat (limited to 'scenes/game_over.tscn')
-rw-r--r-- | scenes/game_over.tscn | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/scenes/game_over.tscn b/scenes/game_over.tscn new file mode 100644 index 0000000..9ef136a --- /dev/null +++ b/scenes/game_over.tscn @@ -0,0 +1,41 @@ +[gd_scene load_steps=3 format=3 uid="uid://c2qy3yacnarar"] + +[ext_resource type="Script" uid="uid://d4ayvqargsfbd" path="res://scripts/game_over.gd" id="1_wqhvx"] +[ext_resource type="AudioStream" uid="uid://b6gqbdoic7lr4" path="res://assets/11 - Death's Respite.wav" id="2_wqhvx"] + +[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_wqhvx") + +[node name="TextureRect" type="TextureRect" parent="."] +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +expand_mode = 2 + +[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."] +stream = ExtResource("2_wqhvx") +pitch_scale = 0.7 +autoplay = true + +[node name="Label" type="Label" parent="."] +layout_mode = 1 +anchors_preset = 12 +anchor_top = 1.0 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_top = -20.0 +grow_horizontal = 2 +grow_vertical = 0 +theme_override_colors/font_color = Color(1, 0.921569, 0.862745, 1) +theme_override_colors/font_shadow_color = Color(0, 0, 0, 1) +text = "space to go back..." +horizontal_alignment = 2 |