|
@@ -23,6 +23,8 @@ File and folder locations can be divided into three categories:
|
|
|
### How to save and load application specific files
|
|
|
When saving and loading application specific files such as high scores, user settings and game state it is recommended to do so in a location provided by the operating system and intended specifically for this purpose. You can use [`sys.get_save_file()`](https://defold.com/ref/stable/sys/#sys.get_save_file:application_id-file_name) to get the OS specific absolute path to a file. Once you have the absolute path you can use the `sys.*`, `io.*` and `os.*` functions (see above).
|
|
|
|
|
|
+[Check the example showing how to use sys.save() and sys.load()](/examples/file/sys_save_load/).
|
|
|
+
|
|
|
### How to access files bundled with the application
|
|
|
You can bundle files with your application in two ways:
|
|
|
|