I'm new to love. I know Lua easily but I don't know how to save. What do you do?
Like
Blah main.lua, .love
That wasn't it because output said there was error and not file, help?
How to save?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- nevon
- Commander of the Circuloids
- Posts: 938
- Joined: Thu Feb 14, 2008 8:25 pm
- Location: Stockholm, Sweden
- Contact:
Re: How to save?
What do you mean? Lua files are just regular text files.
Re: How to save?
WHen I save and drag my folder to love output saysnevon wrote:What do you mean? Lua files are just regular text files.
boot.lua.code 1:No code to run
Re: How to save?
lolwindowsmiz656 wrote:WHen I save and drag my folder to love output saysnevon wrote:What do you mean? Lua files are just regular text files.
boot.lua.code 1:No code to run
No, seriously. First of all, you can try to make a .love-file. That's done by zipping all the contents of the folder as a zip and renaming it to .love. You should be able to get that one to work. If not, something's terribly wrong.
Dragging a folder onto an excecutable sounds wierd. I guess it's supposed to work but I'm not sure how. Try using the command line (cmd).
Also, you can place the files inside the löve .exe-file but that's a bit slow and clunky to do all the time.
Really, you should set up a text editor to launch it for you for convinience. It's really easy to do with Ubuntu's built in text editor but I have no idea how to do this on Windows.
My game called Hat Cat and the Obvious Crimes Against the Fundamental Laws of Physics is out now!
- nevon
- Commander of the Circuloids
- Posts: 938
- Joined: Thu Feb 14, 2008 8:25 pm
- Location: Stockholm, Sweden
- Contact:
Re: How to save?
Sounds like you should read this.
Re: How to save?
Really? Actually T-Bone It's what I do when coding LOVE in OSX. It's the fastest way for me to execute itT-Bone wrote:Dragging a folder onto an excecutable sounds wierd.
![Wink ;)](./images/smilies/ms-wink.png)
- nevon
- Commander of the Circuloids
- Posts: 938
- Joined: Thu Feb 14, 2008 8:25 pm
- Location: Stockholm, Sweden
- Contact:
Re: How to save?
That sounds horrible. I just have a terminal open and press up followed by enter to run the last command, which in this case would be:coffee wrote:Really? Actually T-Bone It's what I do when coding LOVE in OSX. It's the fastest way for me to execute itT-Bone wrote:Dragging a folder onto an excecutable sounds wierd.
Code: Select all
love .
Re: How to save?
Well that's weird to me. I just edit with SciTe and press F5 everytime I want to execute it. On Windows or Linux.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: How to save?
People, would you kindly shut up about your favourite way to run LÖVE?
miz656, could you tell us what exactly are the steps you are undertaking that leads to the "no code to run" error. And preferably, give us a .love.
miz656, could you tell us what exactly are the steps you are undertaking that leads to the "no code to run" error. And preferably, give us a .love.
Help us help you: attach a .love.
Who is online
Users browsing this forum: Ahrefs [Bot] and 1 guest