Reading/Writing files anywhere on the system?

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.
User avatar
MarekkPie
Inner party member
Posts: 587
Joined: Wed Dec 28, 2011 4:48 pm
Contact:

Re: Reading/Writing files anywhere on the system?

Post by MarekkPie »

There are a lot of ways you can go using a WYSIWYG (What You See Is What You Get) editor. GTK+ has Glade, GTK# has Stetic, Qt has Qt Creator. I'd say give Qt a try, since it has a bit more financial backing than GTK, and thus a lot more investment in making it easy to learn (Qt is currently funded by Nokia; it still uses a variety of open-source licenses, though).
User avatar
miko
Party member
Posts: 410
Joined: Fri Nov 26, 2010 2:25 pm
Location: PL

Re: Reading/Writing files anywhere on the system?

Post by miko »

nevon wrote:I would not recommend using Löve for general application development. The lack of a proper GUI toolkit alone will make you tear your hair out, and it won't behave like a native application.
For me, the cross platform ability of love2d (develop on linux, run on windows) and the easy way to distribute love with code are good enough reasons to use love2d for more than just games. So, I would also love to have no restriction on file operations in lua (if the user allows it in his .rc file).
nevon wrote: There are so many better options. Here are just a few: Python+GTK, PyQt, QtLua.
I would recommend:
https://github.com/mkottman/lqt
http://lua-gtk.luaforge.net/en/index.html
http://oproj.tuxfamily.org/wiki/doku.php?id=lgob
http://www.murga-projects.com/murgaLua/index.html
http://luagl.sourceforge.net/ (if looking for 3D)

and more from http://lua-users.org/wiki/GraphicalUser ... ceToolkits
My lovely code lives at GitHub: http://github.com/miko/Love2d-samples
User avatar
Draco_2k
Prole
Posts: 6
Joined: Thu Feb 09, 2012 8:22 am

Re: Reading/Writing files anywhere on the system?

Post by Draco_2k »

Well, lack of of a meaningful file/folder browser in Lua 5.x seems to go hand-in-hand with Love not supporting anything of the kind. Apparently you can tunnel through some browser program with os.execute, but that's pretty hacky, not to mention way above my level.
MarekkPie wrote:There are a lot of ways you can go using a WYSIWYG (What You See Is What You Get) editor...
Excellent! I didn't think WYSIWIG programs would be of any use for anything other than template projects, but maybe times change.
miko wrote:I would recommend...
Thanks a lot, too! With luck, maybe there's a comprehensive package among all this stuff for someone my level.
User avatar
tentus
Inner party member
Posts: 1060
Joined: Sun Oct 31, 2010 7:56 pm
Location: Appalachia
Contact:

Re: Reading/Writing files anywhere on the system?

Post by tentus »

My first thought when I saw this thread:
Image
Image

...
Attachments
Write All The Files?
Write All The Files?
write_all.gif (11.95 KiB) Viewed 1338 times
Read All The Files!
Read All The Files!
read_all.gif (15.95 KiB) Viewed 1338 times
Kurosuke needs beta testers
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 3 guests