Page 1 of 1

Configure errors. *SOLVED*

Posted: Tue Aug 14, 2012 1:31 pm
by TeeJayz
Ok, Hi everyone, I am new, but I keep on getting this error. When I use a script to change the name of my window, it still names it untitled. Here is my code:

Code: Select all

function love.conf(t)
    t.title = "Slime"
end
(I am working on a game called slime, which is a project that I have been working on.)

So any answers? I am using I believe love 0.8.0. Also, Thankyou in advance!

Re: Configure errors.

Posted: Tue Aug 14, 2012 1:41 pm
by josefnpat
There are three issues you should check for:
  1. Check to make sure you aren't setting your love.conf elsewhere, hereby overwriting the code you have here.
  2. Check to make sure you aren't setting the game title manually elsewhere in the code
  3. Check to make sure your file for love.conf(t) is called conf.lua as it says in the wiki.

Re: Configure errors. *SOLVED*

Posted: Tue Aug 14, 2012 5:28 pm
by Ref
How about:

Code: Select all

love.graphics.setCaption( 'What ever you want!' )