Open file

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
rready123
Prole
Posts: 7
Joined: Sat Oct 26, 2013 1:02 pm

Open file

Post by rready123 »

Hi, I'm new to LÖVE and I was wondering if there is a way to open a file in a small window inside of the game. kinda like the HTML iframes tag( http://www.w3schools.com/tags/tag_iframe.asp ).

Thanx :)
User avatar
Roland_Yonaba
Inner party member
Posts: 1563
Joined: Tue Jun 21, 2011 6:08 pm
Location: Ouagadougou (Burkina Faso)
Contact:

Re: Open file

Post by Roland_Yonaba »

Not possible, as far as I know. But, you can mimic it (I guess).
Why would you want to do that, by the way ? Maybe we ca find a simple workaround.
And welcome on Löve forums, by the way. :cool:
rready123
Prole
Posts: 7
Joined: Sat Oct 26, 2013 1:02 pm

Re: Open file

Post by rready123 »

Thank you for the welcome :)
bekey
Party member
Posts: 255
Joined: Tue Sep 03, 2013 6:27 pm

[]

Post by bekey »

-snip-
Last edited by bekey on Fri Jan 24, 2014 2:08 am, edited 1 time in total.
rready123
Prole
Posts: 7
Joined: Sat Oct 26, 2013 1:02 pm

Re: Open file

Post by rready123 »

Probably a .exe file. Like firefox or chrome
User avatar
Roland_Yonaba
Inner party member
Posts: 1563
Joined: Tue Jun 21, 2011 6:08 pm
Location: Ouagadougou (Burkina Faso)
Contact:

Re: Open file

Post by Roland_Yonaba »

rready123 wrote:Probably a .exe file. Like firefox or chrome
No. Löve doesn't work that way.
Basically, you write Lua code, and Löve runs that code.
I can't see for what reason you might want to load/open executables from Löve.

I am not 100% sure about ultimate objective, but judging from your questions, I have the feeling that Löve might not be the answer...:nyu:
rready123
Prole
Posts: 7
Joined: Sat Oct 26, 2013 1:02 pm

Re: Open file

Post by rready123 »

Roland_Yonaba wrote:
rready123 wrote:Probably a .exe file. Like firefox or chrome
No. Löve doesn't work that way.
Basically, you write Lua code, and Löve runs that code.
I can't see for what reason you might want to load/open executables from Löve.

I am not 100% sure about ultimate objective, but judging from your questions, I have the feeling that Löve might not be the answer...:nyu:
Ok, Thanx for the reply
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Semrush [Bot] and 1 guest