Yue Posted July 26, 2017 Share Posted July 26, 2017 Hello, I have a strange problem when I want to run the full screen in Leadwerks 4.4. local s = Vec2(System:GetGraphicsMode(System:CountGraphicsModes() - 1).x, System:GetGraphicsMode(System:CountGraphicsModes() - 1).y) window = Window:Create("Test",0,0,s.x,s.y,Window.FullScreen) Result : Quote Link to comment Share on other sites More sharing options...
Yue Posted July 27, 2017 Author Share Posted July 27, 2017 Hello, I seem to have found a temporary solution to the drawback with the full screen on 4.4. Error. window=Window:Create(title,0,0,800,600,Window.Fullscreen) Solved. window=Window:Create(title,0,0,1280,960,Window.Fullscreen) window:SetLayout( 0, 0, 1280,960 ) --Solved Problem. I hope this is helpful in finding a solution. Although it may be my monitor or graphics card, I do not know. Quote Link to comment Share on other sites More sharing options...
cassius Posted July 27, 2017 Share Posted July 27, 2017 I get full screen in le 4.4 without SetLayout but using window create line only. I use c++ Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++ Link to comment Share on other sites More sharing options...
Yue Posted July 27, 2017 Author Share Posted July 27, 2017 36 minutes ago, cassius said: I get full screen in le 4.4 without SetLayout but using window create line only. I use c++ Hi, do you have an executable to test here to be launched in full screen? That way I discard that may be the problem here. Quote Link to comment Share on other sites More sharing options...
cassius Posted July 27, 2017 Share Posted July 27, 2017 I created a new project but then got rid of all the files in source folder and replaced them with older files from 4.3. That way I can use 4.4 editor but without the gui template. I like your blog, good luck with your game. 1 Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++ Link to comment Share on other sites More sharing options...
reepblue Posted July 30, 2017 Share Posted July 30, 2017 You can also make a fullscreen window by making a boarder less window with the window size the same as the monitor. This method is multi monitor friendly too, and you can toggle between fullscreen mode and windowed mode easily, as the entire app is just one big window. window=Window:Create(title,0,0,1920,1080,0) I'm thinking about changing Luawerks to this instead, but I want to check if this works in Linux first. 1 Quote Cyclone - Ultra Game System - Component Preprocessor - Tex2TGA - Darkness Awaits Template (Leadwerks) If you like my work, consider supporting me on Patreon! 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.