Beginner help

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
Neglli
Prole
Posts: 4
Joined: Thu Dec 18, 2008 2:46 pm

Beginner help

Post by Neglli »

Hello, I started working with löve today, but the problem is it doesn't work.
I create a directory with two text files and changed the type of the files to lua and conf. The names of the files are main and game.
I filled in the example code, saved and draged the folder which contains the two files onto the love.exe.
But it doesn't happen anything.
So what I did wrong?
need help, plx :)
Neglli
Last edited by Neglli on Thu Dec 18, 2008 3:06 pm, edited 1 time in total.
User avatar
Kaze
Party member
Posts: 189
Joined: Sat Jul 19, 2008 4:39 pm
Location: Dublin, Ireland

Re: Beginner help

Post by Kaze »

Neglli wrote:Hello, I started working with löve today, but the problem is it doesn't work.
I create a directory with two text files and changed the type of the files to lua and conf. The names of the files are main and game.
I filled in the example code, saved and draged the folder which contains the two files into the lua.exe.
But it doesn't happen anything.
So what I did wrong?
need help, plx :)
Neglli
You need to drag it onto love.exe, not lua.exe.
Neglli
Prole
Posts: 4
Joined: Thu Dec 18, 2008 2:46 pm

Re: Beginner help

Post by Neglli »

oh sry this was a cursivelymistake i draged it onto the love.exe ;)
User avatar
Tabasco
Citizen
Posts: 72
Joined: Tue Dec 02, 2008 5:04 pm

Re: Beginner help

Post by Tabasco »

It sounds like you're using windows, but please advise if that's not the case.

If WIndows Explorer is hiding extensions of known file types and you rename a text file to main.lua or game.conf, it will secretly keep the filename as main.lua.txt or game.conf.txt.
This option can be disabled from the Tools menu, Folder Options, View tab. Uncheck the box labeled Hide extensions for known file types.

Also, you can try zipping your files and renaming the .zip to .love and double click on that, or from a command line try "love directoryname".
Neglli
Prole
Posts: 4
Joined: Thu Dec 18, 2008 2:46 pm

Re: Beginner help

Post by Neglli »

I know the trick with the extensions so this is not the problem ;-)
I tried out the zipping and the thing with the command but it doesn't work.
I searched for a reason in the LOVE folder and found a text file with the following content:
Game (D:\Info\löve.love) does not exist.

The name of this file is stderr.txt
Neglli
Prole
Posts: 4
Joined: Thu Dec 18, 2008 2:46 pm

Re: Beginner help

Post by Neglli »

Oh okay.
I changed the name of thr folder from löve to unbekannt and now it's working.
Very mysterious I think the illuminati are involved ;-)
Thanks for help.

so long Neglli
User avatar
Tabasco
Citizen
Posts: 72
Joined: Tue Dec 02, 2008 5:04 pm

Re: Beginner help

Post by Tabasco »

I'm glad you were able to get it figured out.

In this case it looks like it was actually a character encoding issue.
Post Reply

Who is online

Users browsing this forum: No registered users and 48 guests