Page 1 of 1

conf.lua not working?

Posted: Tue Dec 31, 2013 10:33 am
by Creepercats
So when i tried making my conf.lua and use it wit my main.lua it did nothing

any answers to that


~Creepercats Thanks :)

Re: conf.lua not working?

Posted: Tue Dec 31, 2013 12:37 pm
by T-Bone
It would help if you posted the contents of your conf.lua. You might have written something wrong. Also make sure the conf.lua lies in the same folder as the main.lua file.

Re: conf.lua not working?

Posted: Tue Dec 31, 2013 12:47 pm
by Plu
Even better if you can upload your .love file :) There should be instructions around on how to make those, but it basically involves zipping your files (.zip!) and then renaming the file extension to .love

That lets us see what you are doing.

Re: conf.lua not working?

Posted: Tue Dec 31, 2013 9:38 pm
by Ekamu
If you are using Love 0.9 the functions changed a little, instead of screen we use window

Love 0.8

Code: Select all

function love.conf(v)
 --configure game
 v.title = "My Game Title"
 v.author = "Me the Author" 
 v.screen.width = 400
 v.screen.height = 300
 v.screen.fullscreen = false
end
Love 0.9

Code: Select all

function love.conf(v)
 --configure game
 v.title = "My Game Title"
 v.author = "Me the Author" 
 v.window.width = 400
 v.window.height = 300
 v.window.fullscreen = false
end
Their is more on the wiki.

Its all good

Posted: Wed Jan 01, 2014 4:00 am
by Creepercats
It's all good guys i fixed it thanks for all the replies :)