feat: add sceneManager; add playerSpawnPos to sceneEntrance and sceneManager; update player node to use value from sceneManager; make sceneManager autoloaded;
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
extends Node2D
|
||||
|
||||
var player_next_scene_spawn_pos: Vector2
|
||||
|
||||
# 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:
|
||||
pass
|
||||
@@ -0,0 +1 @@
|
||||
uid://bghfl5hagv6q1
|
||||
@@ -0,0 +1,6 @@
|
||||
[gd_scene format=3 uid="uid://6txu74mchftj"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bghfl5hagv6q1" path="res://Scenes/SceneManager/scene_manager.gd" id="1_car14"]
|
||||
|
||||
[node name="SceneManager" type="Node2D" unique_id=402183888]
|
||||
script = ExtResource("1_car14")
|
||||
Reference in New Issue
Block a user