Page 1 of 1

how full screen windows

Posted: Sun Sep 06, 2009 7:44 pm
by reza10203045
hi
how do i change size windows to full screen?

Re: how full screen windows

Posted: Sun Sep 06, 2009 9:12 pm
by rude
Either put this in game.conf:

Code: Select all

fullscreen = true
Or do this in code:

Code: Select all

love.graphics.toggleFullscreen()

Re: how full screen windows

Posted: Mon Sep 07, 2009 3:17 pm
by reza10203045
thanks.
A question about change reslution
i want change reslution 800x600 in mode full screen?

Re: how full screen windows

Posted: Mon Sep 07, 2009 3:20 pm
by bartbes
love.graphics.setMode
This might be the exact call you want:

Code: Select all

love.graphics.setMode(800, 600, true, true, 0)
(that makes it fullscreen too)

You can also do it in game.conf by adding:

Code: Select all

width = 800
height = 600