Drag and drop images into game

Just wanted to know if it’s possible, but is there any way to drag and drop or potentially copy-paste images/image files into the game itself? I’m not talking about the project files, rather the actual game.
I don’t exactly know how this kind of stuff works or how difficult it is but I can’t find anyone else talking about it so I figured it would be good to know

Thanks :grin:

Hello!

There is a filedrop extension for such functionality: GitHub - britzl/extension-filedrop: This extension provides a unified, simple to use interface to handle drag and drop of files onto a Defold application

But without windows support at the moment (macos + html5)

2 Likes

Ah I see, thank you
I assume that means there’s no alternative windows option yet?

Yeah, currently no any solution for this

1 Like

Is there any way to paste copied images? or get images from links? the latter seems possible but if the former were available too that’d be helpful

The clipboard extension uses text/strings, but maybe it also works with, or can be adapted to work with, image data:

I’ll have a look, thanks :grin:

1 Like

Please create a feature request in the repo for extension-filedrop!

1 Like