Jump to content

FullScreen swicthing to desktop in max resolution


YouGroove
 Share

Recommended Posts

I use a resolution for LE3 in full screen mode like desktop windows : 1680*1050

 

The annoying point is Windows switching back to desktop during loading game.

I have to manually re select LE3 fullscreen app, than windows switch back again to desktop so again i have to switch manually to LE3 app.

 

This don't happen in lower resolution in fullscreen mode, now Windows switching to desktop.

Does anyone have that problem ?

Stop toying and make games

Link to comment
Share on other sites

If you clear the context right after creating it, it should look a bit better:

function App:Start()

 

--Initialize Steamworks (optional)

Steamworks:Initialize()

 

--Set the application title

self.title="MyGame"

 

--Create a window

self.window=Window:Create(self.title,0,0,1920,1080,Window.FullScreen)

--self.window:HideMouse()

 

--Create the graphics context

self.context=Context:Create(self.window,0)

if self.context==nil then return false end

 

--Clear the screen

self.context:SetColor(0,0,0)

self.context:Clear()

self.context:Sync()

self.context:SetColor(1,1,1)

 

--Create a world

self.world=World:Create()

 

--Load a map

local mapfile = System:GetProperty("map","Maps/start.map")

if Map:Load(mapfile)==false then return false end

 

return true

end

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...