A project showing 4 ways to make player's data persistent in Godot Engine, each branch of this repository represents one way to maintain player's data across get_tree().change_scene
calls.
- Using a Singleton
- Using a Resource
- Remove and Readd the player from scenes
- Save player's data to file
Remember that none of these approaches are mutually excludent, meaning you can use any combination, including all four approaches.