Page 1 of 1

Open file

Posted: Sat Oct 26, 2013 3:03 pm
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 :)

Re: Open file

Posted: Sat Oct 26, 2013 6:11 pm
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:

Re: Open file

Posted: Sat Oct 26, 2013 8:00 pm
by rready123
Thank you for the welcome :)

[]

Posted: Sun Oct 27, 2013 11:26 am
by bekey
-snip-

Re: Open file

Posted: Sun Oct 27, 2013 11:58 am
by rready123
Probably a .exe file. Like firefox or chrome

Re: Open file

Posted: Sun Oct 27, 2013 5:13 pm
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:

Re: Open file

Posted: Mon Oct 28, 2013 7:34 pm
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