A GDScript class to be used as highscore listing in games.
Class that contains everything to create a highscore listing. Contains Serialize/Deserialize methods.
Contains a Node2D with a CanvasLayer to show the use of highscores.gd including saving (autosave when application is closed) and loading when the application starts. Also shows an example highscore list with ten entries and a form to generate random points and a line edit to change the player's name. Player name is stored in highscores.gd as well and loaded when the application is started.
Taken from https://www.nightquestgames.com/godot-4-save-and-load-games-how-to-build-a-robust-system/
Implemented as a singleton in autoload.
Contact me here on Github to let me know what you think about this little helper. Or if you found bugs. Or just to let me know that you like it.