Page 1 of 1

conf.lua not being found, or applied

Posted: Sat Nov 09, 2013 9:52 am
by IceHusky
(I'm sorry admins, I forgot to post my .love file on the last thread, excuse me for the double post)
Hello ^^

I need my game to run in 1280x720. I set such variables in my love.conf function in conf.lua, but for some reason it just isn't applying the new resolution. I still get a 800x600 window. Assistance would be wonderful.

I removed a lot of the game resources to conserve package space. I tested with this change and it is still not working.

Thanks,
-IceHusky ^^

Re: conf.lua not being found, or applied

Posted: Sat Nov 09, 2013 9:57 am
by Robin
For me it works fine. Are you using LÖVE 0.8.0? If so, you should use screen instead of window in conf.lua (the name for that was changed in LÖVE 0.9.0).

Re: conf.lua not being found, or applied

Posted: Sat Nov 09, 2013 9:59 am
by Roland_Yonaba
If you are running this with Löve 0.8.0, it's :

Code: Select all

function love.conf(t)
  t.screen.width = 1280
  t.screen.height = 720
end
Edit: Robin'ed!