[Solved]Use a file dropped onto an application
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- Dr.Tyler O.
- Citizen
- Posts: 58
- Joined: Tue Jul 29, 2014 9:17 am
- Location: United States
[Solved]Use a file dropped onto an application
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?
Last edited by Dr.Tyler O. on Sat Jul 04, 2015 10:05 pm, edited 1 time in total.
Any topic I have ever posted that I felt did not require a .love file, although they were requested, never required one so I would appreciate if you did not ask me to supply one unless you think that I am ignorant for not doing so.
- slime
- Solid Snayke
- Posts: 3161
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Use a file dropped onto an application
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.
- Dr.Tyler O.
- Citizen
- Posts: 58
- Joined: Tue Jul 29, 2014 9:17 am
- Location: United States
Re: Use a file dropped onto an application
Alright, thank you.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.
Any topic I have ever posted that I felt did not require a .love file, although they were requested, never required one so I would appreciate if you did not ask me to supply one unless you think that I am ignorant for not doing so.
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot], slime and 4 guests