drarem Posted January 6, 2015 Posted January 6, 2015 I'm using the indie version (C++), and am having trouble finding a simple example to set my screen to fullscreen. I've tried the following but it doesn't compile. window = Leadwerks::Window::Create("mytest", 0, 0, 1920, 1080, window.FullScreen); window = Leadwerks::Window::Create("mytest", 0, 0, 1920, 1080, Window::FullScreen); window = Leadwerks::Window::Create("mytest", 0, 0, 1920, 1080, FullScreen); window = Leadwerks::Window::Create("ColossusFactor", 0, 0, 1920, 1080, window->FullScreen); This compiles and runs, but it's not 'full screen', as in I still see the title bar and bottom of task bar/launchers/notifiers/etc window = Leadwerks::Window::Create("ColossusFactor", 0, 0, 1920, 1080, window->FullScreen); Running XFCE 64bit Ubuntu 14.xx Quote
MarkusR Posted January 7, 2015 Posted January 7, 2015 i believe -> is similar the dot elsewhere its a constant in Window class, i guess u must write it upper case. did u try Window->FullScreen ? can u print the value on screen before. or maybe fullscreen not work in linux u need nvidia or amd driver, or its a bug. Quote PC : Win 10 Pro 64 Bit , 4x cores ~2 GHz , 8 GB RAM , AMD R7 265 2D : Photoline , Zooner Photo Studio 13 , Art Rage Studio 3.5.4 , Ashampoo Snap 7 , ... 3D : Shade 15 Basic , Carrara 8.5 & DAZ Studio 4.8 , Cheetah 3D 6.3.2 , Via Cad 8 Music : Samplitude Music Studio , Music Creator 7 IDE : Leadwerks Engine 3.x , Unity 5.x , (Unreal 4.8.x) , AGK v2.x , Construct 2 , (Clickteam Fusion 2.5) , ShiVa 1.9 , Game Maker Studio , MS Visual Studio .Net , Android Studio , Monkey , ...
beo6 Posted January 7, 2015 Posted January 7, 2015 Window::FullScreen is correct. However I have read that there was a problem with fullscreen under Linux. Have you tried the steam beta? Maybe it is fixed there already. Quote
drarem Posted January 7, 2015 Author Posted January 7, 2015 How do I access the beta version? i'm 'opted in' for beta in steam.. Update: Nevermind, I think I found it. Quote
drarem Posted January 7, 2015 Author Posted January 7, 2015 With the latest beta, this works: ...1920,1080, window->FullScreen); Thanks. Quote
MarkusR Posted January 7, 2015 Posted January 7, 2015 then i guess before beta this flag was skipped Quote PC : Win 10 Pro 64 Bit , 4x cores ~2 GHz , 8 GB RAM , AMD R7 265 2D : Photoline , Zooner Photo Studio 13 , Art Rage Studio 3.5.4 , Ashampoo Snap 7 , ... 3D : Shade 15 Basic , Carrara 8.5 & DAZ Studio 4.8 , Cheetah 3D 6.3.2 , Via Cad 8 Music : Samplitude Music Studio , Music Creator 7 IDE : Leadwerks Engine 3.x , Unity 5.x , (Unreal 4.8.x) , AGK v2.x , Construct 2 , (Clickteam Fusion 2.5) , ShiVa 1.9 , Game Maker Studio , MS Visual Studio .Net , Android Studio , Monkey , ...
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.