Description
With these scripts you can save and load data from a matrix to an external text file. In this way is more easy and practical to manipulate the loaded matrix data only need to refer to your index and sub index for the desired data.
Imagine everything you can save to be able to load it then modify it and resave, rankings, list of items, menus, dialogues, settings, etc. all what you imagine you also can duplicate the functions for loading and saving more than one single text file for different matrix.
Also if you occupy my other script TextToCode (https://marketplace.yoyogames.com/assets/1835/texttocode) you can encrypt these data so that they can not be changed.
The paths files stored externally vary according to the platform on which you are working.
- Windows - Windows has all files in the %localappdata%<Game Name> directory (on Windows 7 this is the /Users/<User Name>/AppData/Local/<Game Name> directory).
- Mac OS - Storage will depend on whether the application is sandboxed or not (following Apples rules).
- Ubuntu (Linux) - Files are stored in the Home/.config/gamename where "Home" is the users home directory - /home/<username>
- HTML5 / Windows 8 (JS) - Everything is done through the local storage.
- iOS - Storage is the standard location (as viewed through iTunes).
- Android - Files are in the standard location (which is invisible unless the device is rooted) /data/data/<package name>.
- Tizen - Files are in the standard location (which is invisible unless the device is rooted).
- Windows Phone - Files are in the same location as the app.
More information:
http://docs.yoyogames.com/source/dadiospice/002_reference/file%20handling/file%20system%20limits.html
Tested on windows & android
More info
End User Licence Agreement (EULA).
Age Rating: 12+
Version
GMS1 - Version 1.0.1. Published April 26, 2015
Package contents
Loading, please wait
What is the issue?
Loading, please wait