I would love to use this library, but when I include it in my main.lua, it seems to conflict with other libraries like Simple-Tiled and hump. I get strange errors when using either of those two libraries in conjunction with LoveFrames.
Program starting as '"C:\Program Files\love\love.exe" "C:\Users\Tommy\Desktop\ReindeerSimulator12-30-14" -debug'.
Program 'love.exe' started in 'C:\Users\Tommy\Desktop\ReindeerSimulator12-30-14' (pid: 4940).
Total lines in the project: 1454
Error: libs/loveframes/libraries/templates.lua:99: attempt to index local 'base' (a nil value)
stack traceback:
libs/loveframes/libraries/templates.lua:99: in function 'Register'
libs/loveframes/init.lua:443: in main chunk
[C]: in function 'require'
main.lua:88: in main chunk
[C]: in function 'require'
[string "boot.lua"]:360: in function <[string "boot.lua"]:241>
[C]: in function 'xpcall'
Program completed in 36.95 seconds (pid: 4940).
Program starting as '"C:\Program Files\love\love.exe" "C:\Users\Tommy\Desktop\ReindeerSimulator12-30-14" -debug'.
Program 'love.exe' started in 'C:\Users\Tommy\Desktop\ReindeerSimulator12-30-14' (pid: 4932).
Total lines in the project: 1453
Error: libs/loveframes/objects/base.lua:11: attempt to call field 'NewObject' (a nil value)
stack traceback:
libs/loveframes/objects/base.lua:11: in main chunk
[C]: in function 'require'
libs/loveframes/init.lua:435: in main chunk
[C]: in function 'require'
main.lua:87: in main chunk
[C]: in function 'require'
[string "boot.lua"]:360: in function <[string "boot.lua"]:241>
[C]: in function 'xpcall'
Program completed in 2.18 seconds (pid: 4932).
If code is wanted, I'll upload it for you, but which source should I use? Sorry for the question, I'm new to the forum.
scheda wrote:Can you post your code for this? I'm having the same trouble but can't figure it out. (Still VERY new to Love2d)
What kind of issue are you having?
Xardas wrote:I would love to use this library, but when I include it in my main.lua, it seems to conflict with other libraries like Simple-Tiled and hump. I get strange errors when using either of those two libraries in conjunction with LoveFrames.
I think the utf8 library that Love Frames uses might be causing the issue. Try removing the utf8 require code in init.lua and see if that fixes any of the issues.
Thank you so much for looking into this Nikolai! Loveframes has been used in numerous past projects and proves vital for this one, and the file that it is called in from is main.lua, though the one that is giving me issues would be CabinGamestate.lua. At the same time, the first one that is opened is MenuGamestate.lua. Here is the download link to the .love file, http://www.mediafire.com/download/eyil1 ... 30-14.love