Yue Posted March 15, 2018 Share Posted March 15, 2018 Hi, I have a problem here, when I launch the scene from the editor, everything looks good (Not full screen) but when I launch the executable nothing happens. I noticed that there is a message in the editor that says "Windows null". Some suggestion. Quote Link to comment Share on other sites More sharing options...
Josh Posted March 15, 2018 Share Posted March 15, 2018 Look at the log file and see what it says or create a .bat file with this text and run it: MyGame.debug.exe pause 1 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...
Yue Posted March 15, 2018 Author Share Posted March 15, 2018 1 hour ago, Josh said: Look at the log file and see what it says or create a .bat file with this text and run it: MyGame.debug.exe pause Hi Debug.bat return : C:\Users\John\Documents\Leadwerks\Projects\Marte>Marte.debug.exe Initializing Lua... Warning: Lua sandboxing disabled. Executing file "C:/Users/John/Documents/Leadwerks/Projects/Marte/Scripts/Error.lua" Executing file "C:/Users/John/Documents/Leadwerks/Projects/Marte/Scripts/Main.lua" Executing file "C:/Users/John/Documents/Leadwerks/Projects/Marte/Scripts/Menu.lua" Initializing OpenGL graphics driver... OpenGL version 460 GLSL version 460 Device: GeForce GTX 1050 TI/PCIe/SSE2 Error: Window is NULL C:\Users\John\Documents\Leadwerks\Projects\Marte>pause Presione una tecla para continuar . . . Quote Link to comment Share on other sites More sharing options...
Josh Posted March 15, 2018 Share Posted March 15, 2018 This error occurs on Context:Create() if the window passed to it does not exist. Your window creation code is probably failing to create a full-screen window, probably because your monitor does not support the specified resolution. 1 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...
Yue Posted March 15, 2018 Author Share Posted March 15, 2018 My analysis shows that something strange is going on: My graphics card has several screen resolutions, and among those is the 1024 x 768, so I think it should be supported. I also had problems launching in full screen mode, I think something strange is happening. I have my card drivers updated. Edit: I've tried other resolutions, but I'm sweating the same thing. Quote Link to comment Share on other sites More sharing options...
Yue Posted March 15, 2018 Author Share Posted March 15, 2018 I also want to note that in Leadwerks version 4.3, that problem does not happen. It's kind of weird. Quote Link to comment Share on other sites More sharing options...
Josh Posted March 16, 2018 Share Posted March 16, 2018 Can you post your main.lua file? 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...
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.