that is what i was hopping to store, not exacly 3d, but an animation stuff wirten in json.Even before version 2.3, you could save files in the resource tree. Those files are automatically added to the project's working_directory folder. This is a good place to put any assets that aren't handled in the IDE, like if you have an external level editor, or 3d models, or any number of things like that.
Save-game type files are normally not good candidates for this type of file though. Instead, your game should just be creating them as needed(and not relying on them being in the project folder structure).
Ive looked in the manual, i just dont know the correct way of doing it. It doesnt mention anything about saving to a resource tree folder, and access them the same way gm accesses a prite or object. The best options seem to be directory_create(dname) / directory_exists(dname)... the working_directory "%LOCALAPPDATA%/gamedir/" was the one i was trying to avoid.If they are part of the "included files" that are in the datafiles folder in the project folder(2.3 and newer), then they automatically get exported to the working_directory folder(as you can see showing up as the appData folder). If you can look in the manual, it will tell you how to access those files using the file functions.
no special reason, just trying to avoid end up with 50 / 70 files in hereWell, the working_directory is going to be exactly where those files end up. I don't know any reason why you should worry about avoiding that. It has been the standard in Windows app development to use that folder instead of the actual program directory for quite some time now. Care to share why you don't want to do it the normal/recommended way?
OK, so if you are on 2.3 and up, you can make folders inside the datafiles folder of the project directory, and then you just access the files the same way at run-time, just using those folders. My input system has to do this since I store settings using this system and I put those files into a folder instead of at the root level.no special reason, just trying to avoid end up with 50 / 70 files in here
but how can do you do it ? Is it ok to just move the files inside a folder like its done with a sprite ?OK, so if you are on 2.3 and up, you can make folders inside the datafiles folder of the project directory, and then you just access the files the same way at run-time, just using those folders. My input system has to do this since I store settings using this system and I put those files into a folder instead of at the root level.
The other cool part about the new way is that you can externally update and move the files around within that datafiles folder, and you don't have to do anything to let the IDE know, it just automatically works. You still have to change your code if you move something, but the IDE no longer cares...and the IDE no longer stores the file like the older way, where you had to manually re-import it each time.