Page 1 of 1

Unable to change size of game window

Posted: Mon Dec 31, 2018 10:36 pm
by Neox Hopper
When I enter this script, the size of the (Love) window doesn't change at all

Script:

function love.conf(t)
t.window.width = 1024
t.window.height = 768
end

Does anyone know how to fix this issue?

Re: Unable to change size of game window

Posted: Mon Dec 31, 2018 10:53 pm
by plexom
Make sure that the code is in a "conf.lua" file, which is located in the same folder as the "main.lua" file.

Re: Unable to change size of game window

Posted: Tue Jan 01, 2019 12:10 am
by Neox Hopper
It works now, thank you for the info :D