Configure errors. *SOLVED*

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
TeeJayz
Prole
Posts: 3
Joined: Tue Aug 14, 2012 1:27 pm

Configure errors. *SOLVED*

Post 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!
Last edited by TeeJayz on Tue Aug 14, 2012 1:45 pm, edited 1 time in total.
User avatar
josefnpat
Inner party member
Posts: 955
Joined: Wed Oct 05, 2011 1:36 am
Location: your basement
Contact:

Re: Configure errors.

Post 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.
Missing Sentinel Software | Twitter

FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
User avatar
Ref
Party member
Posts: 702
Joined: Wed May 02, 2012 11:05 pm

Re: Configure errors. *SOLVED*

Post by Ref »

How about:

Code: Select all

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

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 5 guests