Hello boys and girls!
I have been away from Löve2D for some months and have just recently decided to get back into my projects.
There's a side project that I'm working on to understand how canvases works and Löve says it can't find it when I launch my test program; I can see my code project (I call it main.lua), I can open it up in Sublime Text 2 and I can launch it via the Terminal (Mac) but still it can't find it for some reason.
Thanks for your patience!
[HELP] Can't find my main.lua file
[HELP] Can't find my main.lua file
Have a good day!
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: [HELP] Can't find my main.lua file
In your case, I would open it with Sublime and save it (with "Save as...") to a known location. Then you can probably find a way to make Sublime tell you where the files are.
When I write def I mean function.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: [HELP] Can't find my main.lua file
You're probably launching LÖVE with the wrong argument. You gotta be more specific for us to be able to help you. What is the path your main.lua is in? What argument do you pass to LÖVE? What steps, exactly, did you follow?
Help us help you: attach a .love.
Re: [HELP] Can't find my main.lua file
Worked without a hitch, just curious why it didn't worked the normal way..kikito wrote:In your case, I would open it with Sublime and save it (with "Save as...") to a known location. Then you can probably find a way to make Sublime tell you where the files are.
I saved my main.lua file under Documents in a folder called "testCanvas", like this:Robin wrote:You're probably launching LÖVE with the wrong argument. You gotta be more specific for us to be able to help you. What is the path your main.lua is in? What argument do you pass to LÖVE?
Code: Select all
/Applications/love.app/Contents/MacOS/love /Users/Samuel/Documents/testCanvas
Have a good day!
Who is online
Users browsing this forum: Bing [Bot] and 3 guests