Page 1 of 1

[Solved]Use a file dropped onto an application

Posted: Sat Jul 04, 2015 8:50 pm
by Dr.Tyler O.
I've noticed some forms of software allow you to drop a file onto the application, it opens the file inside the application, and uses it some way. How can I accomplish this with Love2D?

Re: Use a file dropped onto an application

Posted: Sat Jul 04, 2015 9:42 pm
by slime
This isn't possible with the LÖVE API in 0.9.x. In 0.10.0 you'll be able to use new love.filedropped and love.directorydropped event callbacks to detect and handle drag-and-drop situations with files / folders.

Re: Use a file dropped onto an application

Posted: Sat Jul 04, 2015 10:05 pm
by Dr.Tyler O.
slime wrote:This isn't possible with the LÖVE API in 0.9.x. In 0.10.0 you'll be able to use new love.filedropped and love.directorydropped event callbacks to detect and handle drag-and-drop situations with files / folders.
Alright, thank you.