Filter for file extensions
Every time I use this I find myself needing to filter for files of a particular extension (or extensions), and decided that I might as well write that into the extension itself. So now you can write code that looks like this:
file_dropper_get_files(".png")
file_dropper_get_files([".png", ".jpg", ".jpeg", ".bmp"])
to only have returned an array of dropped files with those particular extensions.
See the documentation for details.
Also, the 32-bit version of the DLL has been removed ’cause 32-bit GameMaker is kill. If you really want to use 32-bit GameMaker you should be able to use the old version of the 32-bit DLL because only the GML part of the extension has changed, but I advise not doing that unless you have to.
Files
File Dropper Demo.zip
Aug 23, 2022
filedraganddrop.yymps 99 kB
Aug 23, 2022
Get Drag and Drop Files Into GameMaker Games
Download NowName your own price
Drag and Drop Files Into GameMaker Games
In case you ever need to drag files into a GameMaker window.
More posts
- 64-bit DLL (and a less ancient extension system)Jan 05, 2022
- Updated to 2.3, and generally cleaned up a littleMar 11, 2021
Leave a comment
Log in with itch.io to leave a comment.