Yue Posted July 23, 2017 Share Posted July 23, 2017 Hello, I have a problem here. When I launch the application in full screen mode in a version to distribute, I get the following error. Any suggestions? Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted July 23, 2017 Share Posted July 23, 2017 Can you show us your code where you create the window. Quote Link to comment Share on other sites More sharing options...
Yue Posted July 24, 2017 Author Share Posted July 24, 2017 Hello, it's the default code found on Main.lua. --Create a window local windowstyle = 0 local winwidth local winheight local gfxmode = System:GetGraphicsMode(System:CountGraphicsModes()-1) if System:GetProperty("devmode")=="1" then gfxmode.x = math.min(1280,gfxmode.x) gfxmode.y = Math:Round(gfxmode.x * 9 / 16) windowstyle = Window.Titlebar else gfxmode.x = System:GetProperty("screenwidth",gfxmode.x) gfxmode.y = System:GetProperty("screenheight",gfxmode.y) windowstyle = Window.Fullscreen end window=Window:Create(title,0,0,gfxmode.x,gfxmode.y,windowstyle) Quote Link to comment Share on other sites More sharing options...
Yue Posted July 24, 2017 Author Share Posted July 24, 2017 Test new. --Create a window window = Window:Create("app", 0, 0, 800,600,Window.Fullscreen + Window.Center) context = Context:Create(window) world = World:Create() local camera = Camera:Create() camera:Move(0,0,-3) local light = DirectionalLight:Create() light:SetRotation(35,35,0) model = Model:Box() model:SetColor(0.0,0.0,1.0) while true do if window:Closed() or window:KeyHit(Key.Escape) then return false end model:Turn(0,Time:GetSpeed(),0) Time:Update() world:Update() world:Render() context:Sync(false) end Result: Quote Link to comment Share on other sites More sharing options...
macklebee Posted July 24, 2017 Share Posted July 24, 2017 Are you using the beta? If so, have you updated your project recently? Just curious as there were issues with Fullscreen a couple of beta versions ago.. In any case, the latest beta version I am using right now has the fullscreen option working. 1 Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
Yue Posted July 24, 2017 Author Share Posted July 24, 2017 mmmmmmmmm, How do I know which version I have installed? And how do I update it? Quote Link to comment Share on other sites More sharing options...
Yue Posted July 24, 2017 Author Share Posted July 24, 2017 My Version. Quote Link to comment Share on other sites More sharing options...
macklebee Posted July 24, 2017 Share Posted July 24, 2017 1 Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
Yue Posted July 24, 2017 Author Share Posted July 24, 2017 Code for betas? Quote Link to comment Share on other sites More sharing options...
Yue Posted July 24, 2017 Author Share Posted July 24, 2017 ok, i back to 4.3, run perfect fullscreen. Quote Link to comment Share on other sites More sharing options...
macklebee Posted July 25, 2017 Share Posted July 25, 2017 3 hours ago, Yue said: Code for betas? Leadwerks Engine Beta does not require a code. 1 Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
Yue Posted July 25, 2017 Author Share Posted July 25, 2017 Ok, the only thing that worked was to install version 4.3, this has no problems with the full display. Quote Link to comment Share on other sites More sharing options...
Yue Posted March 5, 2018 Author Share Posted March 5, 2018 I was thinking of returning to Leadwerks, but I continue with this mistake. 4.5 LE Any suggestions? Quote Link to comment Share on other sites More sharing options...
Yue Posted March 5, 2018 Author Share Posted March 5, 2018 Error Fullscreen.mp4 Quote Link to comment Share on other sites More sharing options...
Yue Posted March 5, 2018 Author Share Posted March 5, 2018 Leadwekrs 4.3 Ok run Fulscreen. Quote Link to comment Share on other sites More sharing options...
Yue Posted March 5, 2018 Author Share Posted March 5, 2018 Well, I'll go do other things, come back again in a year to see if this can be solved. Quote 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.