Added Level singleton to manage the (un)loading of levels and entrypoints
This commit is contained in:
parent
642e98b44e
commit
71eae88a33
7 changed files with 80 additions and 22 deletions
6
main.gd
Normal file
6
main.gd
Normal file
|
@ -0,0 +1,6 @@
|
|||
extends Node2D
|
||||
|
||||
func _ready() -> void:
|
||||
Levels.level_root = $LevelRoot
|
||||
Levels.player = $Player
|
||||
Levels.load_entrypoint("intro_start")
|
Reference in a new issue