[SOLVED]Help: Getting back into LÖVE but can't make my minimal "test" game to run
Posted: Tue Feb 21, 2017 8:55 pm
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?
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?