save a global script

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Themaker482
:warning: Old Version Published before Godot 3 was released.

I want to save my progress in a game but in the docs a instanced node is used as example, if I want to use a global script how does it works?

:bust_in_silhouette: Reply From: JTJonny

This might help you:

http://docs.godotengine.org/en/latest/tutorials/step_by_step/singletons_autoload.html
http://docs.godotengine.org/en/latest/tutorials/engine/saving_games.html

From my understanding a singletons Script is basically an auto-loaded global node.

yes, but I cant add it to a group, and the example in the docs, is using one, thats confusing, but i will look around to see how can i solve it, thanks :smiley:

Themaker482 | 2016-06-09 15:39