Folder Browser Dialog For Game Maker: Studio
A downloadable asset pack
In Game Maker: Studio you can use get_open_filename to browse for files, but there is no way to browse for folders. This extension allows you to open a folder browser dialog.
This extension is also available on the Game Maker: Marketplace
There are 2 functions that comes with the extension:
- zdir_get_directory(path, description)
This function opens a folder browser dialog and returns the selected directory. The first argument, "path", specifies the root folder for the dialog. The second argument, "description", specifies the description of the dialog.
There are a few things you need to keep in mind when using this extension:
- You cannot open the folder browser dialog in the first frame of the game.
- If you open the folder browser dialog with a key-press or a mouse-press, make sure to use keyboard_clear/mouse_clear afterwards as Game Maker doesn't clear the key-state automatically for some reason.
In order to download this asset pack you must purchase it at or above the minimum price of $1.99 USD. You will get access to the following files:
Leave a comment
Log in with itch.io to leave a comment.