YouGroove Posted March 21, 2014 Share Posted March 21, 2014 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 ? Quote Stop toying and make games Link to comment Share on other sites More sharing options...
Einlander Posted March 21, 2014 Share Posted March 21, 2014 Its especially noticeable in levels that have alot of textures. You see the screen flash once, then disappear and then watch as the script window lists all the textures its loading. 1 Quote Link to comment Share on other sites More sharing options...
Josh Posted March 22, 2014 Share Posted March 22, 2014 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 Quote 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 More sharing options...
YouGroove Posted March 22, 2014 Author Share Posted March 22, 2014 I confirm it works, could that be included in Lua templates ? Thread can be closed. Quote Stop toying and make games Link to comment Share on other sites More sharing options...
Recommended Posts
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.