using this tutorial, my game crashes before opening and gives 0 errors... doesn't even tell me what's wrong.
All the code I'm using is literally just this open project: https://github.com/BirdyBirdBirbs/picokun copied and pasted. which is the same exact thing you see in the video... but for my game engine version, because the main one got updated to 4.0
In the save function I obviously changed what the save system is supposed to save to account for compatibility.
so:
func load(save_game: Resource):
var data: Dictionary = save_game.data[SAVE_KEY]
stats.health = data['health']
stats.energy = data['energy']
stats.maxhealth = data['maxhealth']
stats.maxenergy = data['maxenergy']
which is literally the same thing but using my variable names instead of theirs, like they use max_health... and mana I use maxhealth and energy...
I've been spending days searching for tutorials on godot on how to make saving system and the internet is polluted with either useless "quick" 2-5 minute tutorials or with templates that don't explain anything at all about how the node system works, pretty much all of the methods I tried just give me crashes .
and the godot documentation assumes that I have a college degree in rocket science.
user://
instead ofres://
as your path's prefix. More on that here. \$\endgroup\$