How to add window settings in main.lua file?
Posted: Wed Dec 13, 2023 6:19 pm
I have created a config file while I watched tutorials and I want to move this to main.lua file. Show to do that? I know it belongs to function .love.load() but I don't know how to get it work.
function love.conf(app)
app.window.title = "simpleGame"
app.window.icon = "img/icon.png"
app.window.width = 320
app.window.height = 160
app.window.display = 4
end
function love.conf(app)
app.window.title = "simpleGame"
app.window.icon = "img/icon.png"
app.window.width = 320
app.window.height = 160
app.window.display = 4
end