Unable to change size of game window

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
Neox Hopper
Prole
Posts: 8
Joined: Mon Dec 31, 2018 8:20 am

Unable to change size of game window

Post 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?
User avatar
plexom
Prole
Posts: 1
Joined: Mon Dec 31, 2018 8:18 pm

Re: Unable to change size of game window

Post 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.
Neox Hopper
Prole
Posts: 8
Joined: Mon Dec 31, 2018 8:20 am

Re: Unable to change size of game window

Post by Neox Hopper »

It works now, thank you for the info :D
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 112 guests