how full screen windows

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
reza10203045
Prole
Posts: 4
Joined: Thu Sep 03, 2009 12:25 pm

how full screen windows

Post by reza10203045 »

hi
how do i change size windows to full screen?
User avatar
rude
Administrator
Posts: 1052
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: how full screen windows

Post by rude »

Either put this in game.conf:

Code: Select all

fullscreen = true
Or do this in code:

Code: Select all

love.graphics.toggleFullscreen()
reza10203045
Prole
Posts: 4
Joined: Thu Sep 03, 2009 12:25 pm

Re: how full screen windows

Post by reza10203045 »

thanks.
A question about change reslution
i want change reslution 800x600 in mode full screen?
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: how full screen windows

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 246 guests