Folder Pick, an Extension for Android via GameMaker: Studio. for only 99 cents!!
Brought to you by Roadhammer Gaming!
This extension is designed for your Android game and app releases made with GameMaker Studio and will allow you to make up to 4 folders (each additional folder inside the previous folder) that you can name in the main storage
area of the users Android device and return the address of the folders to your game. You can then use this address to save pictures or text created either by you or the user through your code.
Easy to use, check out the video! EDIT: Updated the video so you can actually read and see it haha
How to use:
You must use GameMaker: Studio or Early Access and have the Android export module to use this extension.
There is no need to use an async event in your project! Just use a script, or a code in an alarm/
mouse pressed/ key pressed event etc, and simply call getDire1("Your_main_folder"); to make
1 folder, getDire2("Your_main_folder", "Your sub folder"); to make 2 folders,
getDire3("Your_main_folder", "Your sub folder 1", "Your sub folder2"); to make 3 folders, and
if you need 4 folders getDire4("Your_main_folder", "Your sub folder 1", "Your sub folder2", "Your sub folder3");
from GameMaker: Studio Then you can use the result variable(s) in any operations you wish.
//step event example
global.files = getDire2("Company name", "Game name");// Name your folders here
screen_save(global.files+"/Screenshot.png");// Put a FORWARD slash before your save name,
//and the filetype after (.png, .txt). Also you don't need to use working_directory+
And you can actually create as many folders inside whichever folder(s) you want, say you have an online game that has a thousand players, or more!, just use the repeat statement with a number incrementing variable like so:
var players = 1000;
var numbers = 0
Folders[players]=getDire3("My company", "My game", "Player"+string(numbers));
Now you will have 1000 player folders in the folder My game.
Download the Folder Pick extension Here on the Marketplace
Here is an example game, import the project as a .gmz, You must then add the extension to the project to use!
Folder Loader GMZ
Last edited by a moderator: