Game over/ Pause screen
cerated a functional game over screen. created a partially working pause screen.
This commit is contained in:
1 parent
d50bcf3850
commit
37b5ba6a8f
17 files changed
+508
-80
No files matched your search
@@ -44,9 +44,6 @@ offset_right = 4563.0
|
||||
offset_bottom = 267.0
|
||||
color = Color(0, 0.39215687, 0, 1)
|
||||
|
||||
[node name="player" parent="." unique_id=1596338883 instance=ExtResource("1_dd0lh")]
|
||||
position = Vector2(4730, 39)
|
||||
|
||||
[node name="enemy" parent="." unique_id=1471932521 instance=ExtResource("2_bfxgj")]
|
||||
position = Vector2(1304, -293)
|
||||
|
||||
@@ -74,3 +71,6 @@ shape = SubResource("RectangleShape2D_e270b")
|
||||
|
||||
[node name="Phonebooth" parent="." unique_id=1406086177 instance=ExtResource("5_dywbp")]
|
||||
position = Vector2(6498, 150)
|
||||
|
||||
[node name="player" parent="." unique_id=1596338883 instance=ExtResource("1_dd0lh")]
|
||||
position = Vector2(2605, 112)
|
||||
@@ -1,11 +0,0 @@
|
||||
extends Node2D
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
GloblaData.doing_puzzle = false
|
||||
@@ -1 +0,0 @@
|
||||
uid://c0kr0eqjtde28
|
||||
@@ -1,30 +0,0 @@
|
||||
[gd_scene format=3 uid="uid://b6tcpqx0h3qpy"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cmtdq6tedv1mm" path="res://scenes/player.tscn" id="1_3bmlt"]
|
||||
[ext_resource type="Script" uid="uid://c0kr0eqjtde28" path="res://scenes/levels/level_2.gd" id="1_jm1iu"]
|
||||
[ext_resource type="PackedScene" uid="uid://cplmcsbr2yajw" path="res://scenes/phonebooth.tscn" id="3_ra442"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_aqe1g"]
|
||||
size = Vector2(2007, 149)
|
||||
|
||||
[node name="level2" type="Node2D" unique_id=1987596250]
|
||||
script = ExtResource("1_jm1iu")
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="." unique_id=426446834]
|
||||
offset_left = 8.0
|
||||
offset_top = 865.0
|
||||
offset_right = 2003.0
|
||||
offset_bottom = 989.0
|
||||
|
||||
[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(1010, 942)
|
||||
shape = SubResource("RectangleShape2D_aqe1g")
|
||||
|
||||
[node name="player" parent="." unique_id=1596338883 instance=ExtResource("1_3bmlt")]
|
||||
|
||||
[node name="Phonebooth" parent="." unique_id=1406086177 instance=ExtResource("3_ra442")]
|
||||
position = Vector2(1888, 741)
|
||||
@@ -12,10 +12,6 @@
|
||||
|
||||
[node name="Level3" type="Node2D" unique_id=1807632894]
|
||||
|
||||
[node name="player" parent="." unique_id=1596338883 instance=ExtResource("1_fmg3e")]
|
||||
z_index = 1
|
||||
position = Vector2(45, -143)
|
||||
|
||||
[node name="enemy" parent="." unique_id=1471932521 instance=ExtResource("2_ftfob")]
|
||||
position = Vector2(1179, -414)
|
||||
|
||||
@@ -77,3 +73,7 @@ z_index = -2
|
||||
position = Vector2(2047.8, -202.00003)
|
||||
scale = Vector2(2.368827, 2.368827)
|
||||
texture = ExtResource("9_n6eey")
|
||||
|
||||
[node name="player" parent="." unique_id=1596338883 instance=ExtResource("1_fmg3e")]
|
||||
z_index = 1
|
||||
position = Vector2(45, -143)
|
||||
Reference in new issue
Block a user