Game over/ Pause screen

cerated a functional game over screen. created a partially working pause screen.
This commit is contained in:
sam authored and bigmstone committed 2026-10-04 13:04:20 -06:00
1 parent 4fab177813
commit 6c6bc2a21a
15 files changed
+507 -50

No files matched your search

+297
View File
@@ -0,0 +1,297 @@
[gd_scene format=3 uid="uid://cbqewrj171ilj"]
[ext_resource type="PackedScene" uid="uid://cmtdq6tedv1mm" path="res://scenes/player.tscn" id="1_3bmlt"]
[ext_resource type="Script" path="res://scenes/level_2.gd" id="1_jm1iu"]
[ext_resource type="PackedScene" uid="uid://c17txy4vh4wka" path="res://scenes/casset.tscn" id="3_pbc48"]
[ext_resource type="PackedScene" uid="uid://dxx6mxv6x5yws" path="res://scenes/enemy.tscn" id="4_eqxsl"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_aqe1g"]
size = Vector2(3717.5, 151.5)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_yg5ta"]
size = Vector2(2563, 123)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_e270b"]
size = Vector2(792, 124.5)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_xfo6b"]
size = Vector2(276, 125.5)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_bytyy"]
size = Vector2(18.375, 104)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0u1u7"]
size = Vector2(408, 61)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4pwya"]
size = Vector2(1181, 143)
[node name="level2" type="Node2D" unique_id=1987596250]
script = ExtResource("1_jm1iu")
[node name="ground" type="Control" parent="." unique_id=1187971469]
layout_mode = 3
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
[node name="ColorRect" type="ColorRect" parent="ground" unique_id=426446834]
layout_mode = 0
offset_left = 8.0
offset_top = 865.0
offset_right = 3721.0
offset_bottom = 989.0
color = Color(0, 0.23529412, 0, 1)
[node name="ColorRect2" type="ColorRect" parent="ground" unique_id=1158203769]
layout_mode = 0
offset_left = 876.0
offset_top = 423.0
offset_right = 1668.0
offset_bottom = 547.0
color = Color(0, 0.23529412, 0, 1)
[node name="ColorRect3" type="ColorRect" parent="ground" unique_id=1987598295]
layout_mode = 0
offset_left = 1793.0
offset_top = 153.0
offset_right = 2070.0
offset_bottom = 277.0
color = Color(0, 0.23529412, 0, 1)
[node name="ColorRect4" type="ColorRect" parent="ground" unique_id=1231325246]
layout_mode = 0
offset_left = 2310.0
offset_top = 148.0
offset_right = 2365.0
offset_bottom = 272.0
color = Color(0, 0.23529412, 0, 1)
[node name="ColorRect6" type="ColorRect" parent="ground" unique_id=1323417565]
layout_mode = 0
offset_left = 2599.0
offset_top = -105.0
offset_right = 2654.0
offset_bottom = 19.0
color = Color(0, 0.23529412, 0, 1)
[node name="ColorRect7" type="ColorRect" parent="ground" unique_id=873117911]
layout_mode = 0
offset_left = 2848.0
offset_top = -275.0
offset_right = 2903.0
offset_bottom = -151.0
color = Color(0, 0.23529412, 0, 1)
[node name="ColorRect8" type="ColorRect" parent="ground" unique_id=862512216]
layout_mode = 0
offset_left = 3111.0
offset_top = -518.0
offset_right = 3166.0
offset_bottom = -394.0
color = Color(0, 0.23529412, 0, 1)
[node name="ColorRect9" type="ColorRect" parent="ground" unique_id=1225478351]
layout_mode = 0
offset_left = 3373.0
offset_top = -757.0
offset_right = 3428.0
offset_bottom = -633.0
color = Color(0, 0.23529412, 0, 1)
[node name="ColorRect10" type="ColorRect" parent="ground" unique_id=1618640032]
layout_mode = 0
offset_left = 2571.0
offset_top = -1347.0
offset_right = 2626.0
offset_bottom = -1223.0
color = Color(0, 0.23529412, 0, 1)
[node name="ColorRect11" type="ColorRect" parent="ground" unique_id=152893570]
layout_mode = 0
offset_left = 2302.0
offset_top = -1630.0
offset_right = 2357.0
offset_bottom = -1506.0
color = Color(0, 0.23529412, 0, 1)
[node name="ColorRect12" type="ColorRect" parent="ground" unique_id=1937003888]
layout_mode = 0
offset_left = 1825.0
offset_top = -1796.0
offset_right = 1880.0
offset_bottom = -1672.0
color = Color(0, 0.23529412, 0, 1)
[node name="ColorRect13" type="ColorRect" parent="ground" unique_id=794448806]
layout_mode = 0
offset_left = 2987.0
offset_top = -1111.0
offset_right = 3042.0
offset_bottom = -987.0
color = Color(0, 0.23529412, 0, 1)
[node name="ColorRect5" type="ColorRect" parent="ground" unique_id=569891626]
layout_mode = 0
offset_left = 3720.0
offset_top = 741.0
offset_right = 6289.0
offset_bottom = 865.0
color = Color(0, 0.23529412, 0, 1)
[node name="ColorRect14" type="ColorRect" parent="ground" unique_id=888007918]
layout_mode = 0
offset_left = 1037.0
offset_top = -1764.0
offset_right = 1442.0
offset_bottom = -1701.0
color = Color(0, 0.23529412, 0, 1)
[node name="ColorRect15" type="ColorRect" parent="ground" unique_id=439885816]
layout_mode = 0
offset_left = 6399.0
offset_top = 751.0
offset_right = 6417.0
offset_bottom = 855.0
color = Color(1.3897754e-06, 0.32097825, 1.4439226e-07, 1)
[node name="ColorRect16" type="ColorRect" parent="ground" unique_id=1423398203]
layout_mode = 0
offset_left = 7319.0
offset_top = 764.0
offset_right = 7337.0
offset_bottom = 868.0
color = Color(1.3897754e-06, 0.32097825, 1.4439226e-07, 1)
[node name="ColorRect17" type="ColorRect" parent="ground" unique_id=822568619]
layout_mode = 0
offset_left = 8318.0
offset_top = 768.0
offset_right = 8336.0
offset_bottom = 872.0
color = Color(1.3897754e-06, 0.32097825, 1.4439226e-07, 1)
[node name="ColorRect18" type="ColorRect" parent="ground" unique_id=1414623501]
layout_mode = 0
offset_left = 8935.0
offset_top = 447.0
offset_right = 8953.0
offset_bottom = 551.0
color = Color(1.3897754e-06, 0.32097825, 1.4439226e-07, 1)
[node name="ColorRect19" type="ColorRect" parent="ground" unique_id=462353603]
layout_mode = 0
offset_left = 9677.0
offset_top = 785.0
offset_right = 9695.0
offset_bottom = 889.0
color = Color(1.3897754e-06, 0.32097825, 1.4439226e-07, 1)
[node name="ColorRect20" type="ColorRect" parent="ground" unique_id=1710073146]
layout_mode = 0
offset_left = 10379.0
offset_top = 536.0
offset_right = 11559.0
offset_bottom = 679.0
color = Color(1.0648929e-06, 0.3122861, 1.4439226e-07, 1)
[node name="StaticBody2D" type="StaticBody2D" parent="." unique_id=471962104]
collision_layer = 2
collision_mask = 5
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D" unique_id=1096663356]
position = Vector2(1865.25, 940.75)
shape = SubResource("RectangleShape2D_aqe1g")
[node name="CollisionShape2D2" type="CollisionShape2D" parent="StaticBody2D" unique_id=192572670]
position = Vector2(5003.5, 802.5)
shape = SubResource("RectangleShape2D_yg5ta")
[node name="CollisionShape2D3" type="CollisionShape2D" parent="StaticBody2D" unique_id=896122242]
position = Vector2(1272, 484.75)
shape = SubResource("RectangleShape2D_e270b")
[node name="CollisionShape2D4" type="CollisionShape2D" parent="StaticBody2D" unique_id=1698934541]
position = Vector2(1931, 215.25)
shape = SubResource("RectangleShape2D_xfo6b")
[node name="CollisionShape2D5" type="CollisionShape2D" parent="StaticBody2D" unique_id=935128976]
position = Vector2(2627, -45)
shape = SubResource("RectangleShape2D_bytyy")
[node name="CollisionShape2D6" type="CollisionShape2D" parent="StaticBody2D" unique_id=318025194]
position = Vector2(2875, -211)
shape = SubResource("RectangleShape2D_bytyy")
[node name="CollisionShape2D7" type="CollisionShape2D" parent="StaticBody2D" unique_id=682345200]
position = Vector2(3139, -455)
shape = SubResource("RectangleShape2D_bytyy")
[node name="CollisionShape2D8" type="CollisionShape2D" parent="StaticBody2D" unique_id=1733527828]
position = Vector2(3401, -693)
shape = SubResource("RectangleShape2D_bytyy")
[node name="CollisionShape2D9" type="CollisionShape2D" parent="StaticBody2D" unique_id=1517783979]
position = Vector2(3014, -1047)
shape = SubResource("RectangleShape2D_bytyy")
[node name="CollisionShape2D15" type="CollisionShape2D" parent="StaticBody2D" unique_id=1860761884]
position = Vector2(6408.8125, 803)
shape = SubResource("RectangleShape2D_bytyy")
[node name="CollisionShape2D16" type="CollisionShape2D" parent="StaticBody2D" unique_id=1206239722]
position = Vector2(7328, 816)
shape = SubResource("RectangleShape2D_bytyy")
[node name="CollisionShape2D17" type="CollisionShape2D" parent="StaticBody2D" unique_id=701106868]
position = Vector2(8327, 820)
shape = SubResource("RectangleShape2D_bytyy")
[node name="CollisionShape2D18" type="CollisionShape2D" parent="StaticBody2D" unique_id=900902997]
position = Vector2(8944, 499)
shape = SubResource("RectangleShape2D_bytyy")
[node name="CollisionShape2D19" type="CollisionShape2D" parent="StaticBody2D" unique_id=201295496]
position = Vector2(9686, 837)
shape = SubResource("RectangleShape2D_bytyy")
[node name="CollisionShape2D10" type="CollisionShape2D" parent="StaticBody2D" unique_id=1408705032]
position = Vector2(2597, -1284)
shape = SubResource("RectangleShape2D_bytyy")
[node name="CollisionShape2D11" type="CollisionShape2D" parent="StaticBody2D" unique_id=1742288823]
position = Vector2(2328, -1566)
shape = SubResource("RectangleShape2D_bytyy")
[node name="CollisionShape2D12" type="CollisionShape2D" parent="StaticBody2D" unique_id=1088108625]
position = Vector2(1852, -1732)
shape = SubResource("RectangleShape2D_bytyy")
[node name="CollisionShape2D13" type="CollisionShape2D" parent="StaticBody2D" unique_id=912985229]
position = Vector2(2337.625, 210)
shape = SubResource("RectangleShape2D_bytyy")
[node name="CollisionShape2D14" type="CollisionShape2D" parent="StaticBody2D" unique_id=1242493128]
position = Vector2(1240, -1733.5)
shape = SubResource("RectangleShape2D_0u1u7")
[node name="CollisionShape2D20" type="CollisionShape2D" parent="StaticBody2D" unique_id=1247256848]
position = Vector2(10969.5, 608.5)
shape = SubResource("RectangleShape2D_4pwya")
[node name="player" parent="." unique_id=1596338883 instance=ExtResource("1_3bmlt")]
[node name="casset" parent="." unique_id=918954585 instance=ExtResource("3_pbc48")]
position = Vector2(1196, -1831)
[node name="casset2" parent="." unique_id=46718020 instance=ExtResource("3_pbc48")]
position = Vector2(8923, 371)
[node name="enemy" parent="." unique_id=1471932521 instance=ExtResource("4_eqxsl")]
position = Vector2(1162, 192)
[node name="enemy2" parent="." unique_id=1537388686 instance=ExtResource("4_eqxsl")]
position = Vector2(2368, 673)
[node name="enemy3" parent="." unique_id=972117821 instance=ExtResource("4_eqxsl")]
position = Vector2(4869, 518)