conf.lua not being found, or applied

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
IceHusky
Prole
Posts: 1
Joined: Sat Nov 09, 2013 9:36 am

conf.lua not being found, or applied

Post 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 ^^
Attachments
ProjectJupiter.love
The .love file for my game.
(479 Bytes) Downloaded 146 times
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: conf.lua not being found, or applied

Post 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).
Help us help you: attach a .love.
User avatar
Roland_Yonaba
Inner party member
Posts: 1563
Joined: Tue Jun 21, 2011 6:08 pm
Location: Ouagadougou (Burkina Faso)
Contact:

Re: conf.lua not being found, or applied

Post 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!
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 4 guests