Browser file tools for GameMaker
Links: documentation · source code
This extension lets you do a handful of things on HTML5:
- Paste events
- Drag 'n drop events
- File picker dialogs
- File saving dialogs
For handling images, best used with Allow Data URI.
Note: For iOS, file picker dialog should be invoked from a user interaction (read: clickable_ or this kind of trick)
Have fun!
Status | Released |
Category | Assets |
Rating | Rated 5.0 out of 5 stars (1 total ratings) |
Author | YellowAfterlife |
Made with | GameMaker |
Tags | GameMaker |
Download
Download NowName your own price
Click download now to get access to the following files:
browser_file_tools-for-GMS1.gmez 76 kB
Version 1.1a
browser_file_tools-for-GMS2.yymp 14 kB
Version 1.1a
browser_file_tools-for-GMS2.3+.yymps 58 kB
Version 1.1a
browser_file_tools-demo-for-GMS2.3+.yyz 105 kB
Version 1.1a
browser_paste.gmez 1.9 kB
browser_paste.gmz 25 kB
browser_paste_23.yyz 1.3 MB
browser_paste_23.yymps 3 kB
Development log
- Drag 'n drop and file pickerJan 23, 2022
- Added a GMS2.3 versionSep 02, 2021
Comments
Log in with itch.io to leave a comment.
Hi, is there a way to configure extension to work on Opera GX games platform? When I test it on HTML5 it works, but on GX.games platform it is not working.
Not as far as I know - GX target doesn’t currently support JS extensions, and you can’t do this without JS.
Okay, thanks.
Is there a way to copy an image TO the player's clipboard, from HTML5?
It is something that can be implemented by scrapping parts of my other extension (Screenshot Save Dialog) in a few hours / $60 or so, but the related API (
ClipboardItem
) is only implemented in desktop Chromium, making it something that you can’t actively rely upon as of yet.Got one of these for normal desktop export or only possible on html5?
There are already extensions for that (drag and drop, various dialogs). There’s not an up-to-date extension for pasting images from clipboard, but that’s something that has more caveats than one would expect.
danks
It's not working for me, I'm using Mac and tested in Safari, Firefox and Chrome.
Have you clicked the game embed to give it focus first?
Just tried in Chrome on MacOs Mojave.. gave focus to frame.. no go..
Try now, should be fixed (had to explicitly make GM not consume the Cmd+V keyboard shortcut)
works for me now.