How to make a save file in any platform?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By I reject all deals

How to make save file in any platforms?
For example,there is an aplication and this application is supporting windows,macos,android,ios,linux and web
How we will do a save file?

For pc = “C:/Users/***/Desktop/save.dat”
For phone = “user://data.dat”

ramazan | 2022-01-26 09:53

Thanks i will try

I reject all deals | 2022-01-27 08:51

:bust_in_silhouette: Reply From: AlexTheRegent

Start your save file path with user://. user:// is automatically replaced with corresponding local storage based on running platform. Here’s related question:
https://forum.godotengine.org/4351/where-are-user-locations-on-each-platform

Thanks, maybe it will works

I reject all deals | 2022-01-27 08:43