Jump to content

Error Full Screen LeadWerks 4.4


Yue
 Share

Recommended Posts

 

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 : 

Screen.png



 

Mars.jpg.89ab63a64eebc1f5ada0ab82b66a1f8c.jpg

 

 

Link to comment
Share on other sites

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)

Error.thumb.png.66397550e2507e10b9c73a1a711c4182.png
 

Solved.

 

window=Window:Create(title,0,0,1280,960,Window.Fullscreen)
window:SetLayout( 0, 0, 1280,960 ) --Solved Problem.

Solved.thumb.png.88e08a068774b0d43630fd56bf5459aa.png
I hope this is helpful in finding a solution. Although it may be my monitor or graphics card, I do not know.

Mars.jpg.89ab63a64eebc1f5ada0ab82b66a1f8c.jpg

 

 

Link to comment
Share on other sites

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.

Mars.jpg.89ab63a64eebc1f5ada0ab82b66a1f8c.jpg

 

 

Link to comment
Share on other sites

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.

  • Like 1

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

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.

  • Like 1

Cyclone - Ultra Game System - Component PreprocessorTex2TGA - Darkness Awaits Template (Leadwerks)

If you like my work, consider supporting me on Patreon!

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...