So I haven't used Löve2D in 2 years and I want to get back into it.
So by following the Löve2D:s "Getting started" example and saved it as a main.lua file.
I can get the "game" to run by dragging the folder to the .exe file but I think I screw it up when I try to run it by using the Command Prompt (I think it's called?) I either get "is not recognized as an internal or external command, operable program or batch file" or I get the "Super Toast" screen.
I've tried this:
C:\>\Program Files\LOVE\love.exe C:\LocalCommon\HelloWorld
C:\>cd LocalCommon
C:\LocalCommon>HelloWorld
C:\LocalCommon>HelloWorld\main.lua
The difference here is that I have it in my C: --> LocalCommon --> HelloWorld
I've changed the directory so that I'm inside my "LocalCommon" folder (where I have HelloWorld and my main.lua file) and I'm fairly sure that I shouldn't add "\main.lua" at the end in the "Command prompt".
So what am I doing wrong?
[SOLVED]Help: Getting back into LÖVE but can't make my minimal "test" game to run
[SOLVED]Help: Getting back into LÖVE but can't make my minimal "test" game to run
Last edited by nice on Wed Feb 22, 2017 6:13 pm, edited 1 time in total.
Have a good day!
- TheOddByte
- Prole
- Posts: 35
- Joined: Sun Dec 15, 2013 7:15 pm
Re: Help: Getting back into LÖVE but can't make my minimal "test" game to run
Have you tried to create a shortcut to the love.exe file and placed that in the LocalCommon folder, and then dragged the folder onto the shortcut?
What's the object-oriented way to get wealthy? Inheritance.
- zorg
- Party member
- Posts: 3470
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: Help: Getting back into LÖVE but can't make my minimal "test" game to run
that first line is a bit suspicious to me...
C:\>\Program Files\
Right there...
you probably want to cd into the folder where love.exe is, THEN give it the path to the folder containing your main.lua
C:\>cd "C:\Program Files\LOVE\"
C:\Program Files\LOVE\>love.exe C:\LocalCommon\HelloWorld\
^try that.
C:\>\Program Files\
Right there...
you probably want to cd into the folder where love.exe is, THEN give it the path to the folder containing your main.lua
C:\>cd "C:\Program Files\LOVE\"
C:\Program Files\LOVE\>love.exe C:\LocalCommon\HelloWorld\
^try that.
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Re: Help: Getting back into LÖVE but can't make my minimal "test" game to run
It worked!
First I had to change the directory to the LOVE folder.
- C:\>cd "C:\Program Files\LOVE\"
- C:\Program Files\LOVE\>love.exe C:\LocalCommon\HelloWorld\
Have a good day!
Who is online
Users browsing this forum: No registered users and 3 guests