Get display width and heigth

General discussion about LÖVE, Lua, game development, puns, and unicorns.
DarthGrover
Prole
Posts: 16
Joined: Wed Feb 05, 2014 11:31 pm
Location: Ohio USA

Re: Get display width and heigth

Post by DarthGrover »

I see that love.graphics.setMode is now love.windows.setMode in 0.9.0

Is there any way to utilize any computer's full size of the screen but without the flash?
User avatar
micha
Inner party member
Posts: 1083
Joined: Wed Sep 26, 2012 5:13 pm

Re: Get display width and heigth

Post by micha »

You can try using the "desktop"-fullscreen mode. See on the wiki. This makes the LÖVE window the size of the current desktop and removes the window frame.
User avatar
Azhukar
Party member
Posts: 478
Joined: Fri Oct 26, 2012 11:54 am

Re: Get display width and heigth

Post by Azhukar »

User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Get display width and heigth

Post by bartbes »

The flash? Of not switching window size after having created one? Well, don't create a window, as before. Set t.window to nil in love.conf.
DarthGrover
Prole
Posts: 16
Joined: Wed Feb 05, 2014 11:31 pm
Location: Ohio USA

Re: Get display width and heigth

Post by DarthGrover »

Thanks Bartbes, I think that will be the ticket.
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 5 guests