detach pause screen from camera (fixes #36)

This commit is contained in:
Haze Weathers 2023-01-30 13:55:34 -05:00
parent 4c3e7ab2ac
commit cf4c987245
3 changed files with 4 additions and 3 deletions

View file

@ -1,4 +1,4 @@
extends Node2D
extends CanvasLayer
# Called when the node enters the scene tree for the first time.
func _ready():

View file

@ -5,8 +5,9 @@
[ext_resource path="res://graphics/hud/pause_arrow.png" type="Texture" id=3]
[ext_resource path="res://objects/hud/pause_screen.gd" type="Script" id=4]
[node name="PauseScreen" type="Node2D"]
[node name="PauseScreen" type="CanvasLayer"]
pause_mode = 2
layer = 100
script = ExtResource( 4 )
[node name="TileMap" type="TileMap" parent="."]