From a44accebe463b7594d38cae1893322e3eb385808 Mon Sep 17 00:00:00 2001 From: snoweuph Date: Sat, 4 Feb 2023 20:18:47 +0100 Subject: [PATCH] Adding GameManager --- Scripts/GameManager.gd | 9 +++++++++ project.godot | 4 ++++ 2 files changed, 13 insertions(+) create mode 100644 Scripts/GameManager.gd diff --git a/Scripts/GameManager.gd b/Scripts/GameManager.gd new file mode 100644 index 0000000..dc809b9 --- /dev/null +++ b/Scripts/GameManager.gd @@ -0,0 +1,9 @@ +extends Node + +# Called when the node enters the scene tree for the first time. +func _ready(): + pass # Replace with function body. + +# Called every frame. 'delta' is the elapsed time since the previous frame. +func _process(delta): + pass diff --git a/project.godot b/project.godot index e0081ca..c87b795 100644 --- a/project.godot +++ b/project.godot @@ -14,6 +14,10 @@ config/name="2d Hack And Slay" run/main_scene="res://Scenes/Test Scene.tscn" config/features=PackedStringArray("4.0") +[autoload] + +GameManager="*res://Scripts/GameManager.gd" + [display] window/stretch/mode="viewport"