itch.io is community of indie game creators and players

Devlogs

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
Download Drag and Drop Files Into GameMaker Games
Leave a comment