Page 1 of 1

I'm new here!

Posted: Tue Dec 01, 2015 12:56 am
by Flairieve
Hi i'm new here!
I'm starting now to learn LUA Code.

Also I'm kinda confused with installing Love Frames. It just says "Download the source from the repo. Place the source in a folder of it's own and then place that folder anywhere within your project." Can someone give me a guide with images so I can understand how to install it please?

Thanks!

Re: I'm new here!

Posted: Tue Dec 01, 2015 3:45 am
by bobbyjones
Just download loveframes and put it inside the source folder. But if you are this new to Lua(not all caps.) I would recommend reading the PIL http://www.lua.org/pil/. It will help you understand how loading modules and all that works.

Re: I'm new here!

Posted: Tue Dec 01, 2015 6:11 am
by Flairieve
Where can I find this source folder at?

Re: I'm new here!

Posted: Tue Dec 01, 2015 7:07 am
by bobbyjones
Source folder is a folder you make that holds your main.lua and other code files and game assets.

Re: I'm new here!

Posted: Tue Dec 01, 2015 7:55 pm
by Flairieve
LuaERROR.PNG
LuaERROR.PNG (18.55 KiB) Viewed 3208 times
I tried to follow the instructions on LoveFrames but I see that LOVE doesn't have the dlls and such?

Re: I'm new here!

Posted: Wed Dec 02, 2015 5:35 am
by bobbyjones
That means the path you passed to require was wrong. Post a screen shot of the directory for the source

Re: I'm new here!

Posted: Wed Dec 02, 2015 6:24 am
by Flairieve
FlairWut.PNG
FlairWut.PNG (34.57 KiB) Viewed 3176 times
Ok, heres my files.

Re: I'm new here!

Posted: Wed Dec 02, 2015 10:41 am
by zorg
For one, you want to require "libraries.loveframes", but your folder is named "LoveFrames-master", so you need to do this instead:

Code: Select all

require "LoveFrames-master"
On the other hand, it might be a "windows hiding files by default" thing, but i believe there should be a few more files next to love.exe that are needed for it to run; You didn't just copypaste the file to your projects folder in documents, right? Nevermind, as s0lll0s said, it's a link, and i'm blind :3

Re: I'm new here!

Posted: Wed Dec 02, 2015 1:33 pm
by s-ol
zorg wrote:For one, you want to require "libraries.loveframes", but your folder is named "LoveFrames-master", so you need to do this instead:

Code: Select all

require "LoveFrames-master"
On the other hand, it might be a "windows hiding files by default" thing, but i believe there should be a few more files next to love.exe that are needed for it to run; You didn't just copypaste the file to your projects folder in documents, right?
It's not love.exe, it's a shortcut to love.exe which is probably in PATH even, so it should work.