Page 31 of 41

Re: Löve Frames - A GUI Library

Posted: Sat Apr 04, 2015 11:12 pm
by Nikolai Resokav
schmirsich wrote:Your website and subsequently the documentation seems to be offline. I presume you are still continuing the project?
The documentation is on github now: https://github.com/KennyShields/LoveFrames/wiki

Re: Löve Frames - A GUI Library

Posted: Sun Apr 05, 2015 2:10 pm
by liyonglove2d
schmirsich wrote:Your website and subsequently the documentation seems to be offline. I presume you are still continuing the project?
Hope this to be fixed soon ;) doc is really important~

Re: Löve Frames - A GUI Library

Posted: Mon Apr 06, 2015 3:25 am
by Guard13007
I came here because the site is down. I see you moved the documentation, but I can't find the demo. I wanted to download it to use it to work on a skin. Is there a place to download it / can I get a download please?

Re: Löve Frames - A GUI Library

Posted: Fri Apr 17, 2015 7:19 pm
by murks
Hi there.

I did nothing so far but what the documentation says, and löveframes throws me this internal error. Any idea what's wrong?

Code: Select all

Error: libs/LoveFrames/objects/base.lua:40: bad argument #1 to 'ipairs' (table expected, got nil)
stack traceback:
	[C]: in function 'ipairs'
	libs/LoveFrames/objects/base.lua:40: in function 'update'
	libs/LoveFrames/init.lua:174: in function 'update'
	main.lua:23: in function 'update'
	[string "boot.lua"]:442: in function <[string "boot.lua"]:413>
	[C]: in function 'xpcall'

Re: Löve Frames - A GUI Library

Posted: Fri Apr 17, 2015 11:48 pm
by murks
Oh, the demo throws the same error. Can someone recommend a different GUI library?

Code: Select all

$ love .
Error: libraries/loveframes/init.lua:317: bad argument #1 to 'insert' (table expected, got nil)
stack traceback:
	[C]: in function 'insert'
	libraries/loveframes/init.lua:317: in function 'Create'
	libraries/demo.lua:35: in function 'CreateToolbar'
	libraries/demo.lua:24: in function 'Load'
	libraries/demo.lua:149: in main chunk
	[C]: in function 'require'
	main.lua:5: in function 'load'
	[string "boot.lua"]:418: in function <[string "boot.lua"]:413>
	[C]: in function 'xpcall'

Re: Löve Frames - A GUI Library

Posted: Mon Apr 20, 2015 4:19 pm
by EntranceJew
murks wrote:Oh, the demo throws the same error. Can someone recommend a different GUI library?

Code: Select all

$ love .
Error: libraries/loveframes/init.lua:317: bad argument #1 to 'insert' (table expected, got nil)
stack traceback:
	[C]: in function 'insert'
	libraries/loveframes/init.lua:317: in function 'Create'
	libraries/demo.lua:35: in function 'CreateToolbar'
	libraries/demo.lua:24: in function 'Load'
	libraries/demo.lua:149: in main chunk
	[C]: in function 'require'
	main.lua:5: in function 'load'
	[string "boot.lua"]:418: in function <[string "boot.lua"]:413>
	[C]: in function 'xpcall'
It might be possible that the version of loveframes that you're using is outdated? I just downloaded the demo and loveframes and ran them together on windows with love 0.9.2 without a hitch. If there is an issue with the latest, it probably has to do with improper capitalization of filenames somewhere in the source.

Re: Löve Frames - A GUI Library

Posted: Tue Apr 21, 2015 6:17 am
by murks
Löve Frames worked for me at some point, about half a year ago.
It was not outdated, I pulled it from git. I was using Lua 5.2.4, löve 0.9.2 on Linux x86_64.
I do agree that it might have something to do with file names, because I have seen weird things in some libraries, like not accepting '/' in paths, but only '.'. I can't remember which library it was, it was all during a game jam. Is it still accurate that windows ignores capitalisation in some cases?

Re: Löve Frames - A GUI Library

Posted: Tue Apr 21, 2015 7:52 pm
by s-ol
murks wrote:Löve Frames worked for me at some point, about half a year ago.
It was not outdated, I pulled it from git. I was using Lua 5.2.4, löve 0.9.2 on Linux x86_64.
I do agree that it might have something to do with file names, because I have seen weird things in some libraries, like not accepting '/' in paths, but only '.'. I can't remember which library it was, it was all during a game jam. Is it still accurate that windows ignores capitalisation in some cases?
Windows is case-insensitive with filesystems in general. '.' is the only correct way of requiring modules, as it is the only platform-agnostic way of doing so in Lua5.1.

Re: Löve Frames - A GUI Library

Posted: Tue Apr 21, 2015 8:42 pm
by davisdude
S0lll0s wrote:Windows is case-insensitive with filesystems in general.
Not quite true. Windows is case insensitive unless you compile it into an executable/love, in which case, it will error any inconsistencies.

Re: Löve Frames - A GUI Library

Posted: Tue Apr 21, 2015 10:19 pm
by Robin
davisdude wrote:
S0lll0s wrote:Windows is case-insensitive with filesystems in general.
Not quite true. Windows is case insensitive unless you compile it into an executable/love, in which case, it will error any inconsistencies.
FAT and NTFS etc are case-insensitive. It's just that the ZIP format is case-sensitive, which has nothing to do with Windows, except for the fact that you have to think about case-sensitivity even on Windows.