love.window.setMode not working

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
Blorpal
Prole
Posts: 3
Joined: Tue Jan 10, 2023 4:52 pm

love.window.setMode not working

Post by Blorpal »

I tried to edit conf.lua for window size and that didn't work, so i tried to do love.window.setMode(300, 388) and that didn't work. Any idea why?
Attachments
main.lua
(228 Bytes) Downloaded 34 times
User avatar
BrotSagtMist
Party member
Posts: 657
Joined: Fri Aug 06, 2021 10:30 pm

Re: love.window.setMode not working

Post by BrotSagtMist »

I think at this point youre forgetting to hit save.
obey
Andlac028
Party member
Posts: 174
Joined: Fri Dec 14, 2018 2:27 pm
Location: Slovakia

Re: love.window.setMode not working

Post by Andlac028 »

You need to dave the file and then restart love (stop build and start it again), else it won’t execute your new code
Post Reply

Who is online

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