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 .
TeeJayz
Prole
Posts: 3 Joined: Tue Aug 14, 2012 1:27 pm
Post
by TeeJayz » Tue Aug 14, 2012 1:31 pm
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.
josefnpat
Inner party member
Posts: 955 Joined: Wed Oct 05, 2011 1:36 am
Location: your basement
Contact:
Post
by josefnpat » Tue Aug 14, 2012 1:41 pm
There are three issues you should check for:
Check to make sure you aren't setting your love.conf elsewhere, hereby overwriting the code you have here.
Check to make sure you aren't setting the game title manually elsewhere in the code
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
Ref
Party member
Posts: 702 Joined: Wed May 02, 2012 11:05 pm
Post
by Ref » Tue Aug 14, 2012 5:28 pm
How about:
Code: Select all
love.graphics.setCaption( 'What ever you want!' )
Users browsing this forum: No registered users and 6 guests