+1 vote

I used this tutorial: https://www.youtube.com/watch?v=L9Zekkb4ZXc however when ever I play the exported game it does not work, it only works in the editor. Is the user:// path recommended for published games or is there a better way to do this? thank you.

in Engine by (63 points)

user:// will refer to a specific directory for different operating systems so setting up another way to do this is unnecessary. Are you having trouble with the actual saving or loading?

1 Answer

0 votes

I used this method in order to save the highscore in my game. I am sure it can work with storing other variables.
It does require setting up a Global scene/script however, so this can help you.

by (40 points)

thank you it worked!

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.