N815 Posted March 29 Share Posted March 29 --Create a window local window = CreateWindow("TEST LEVEL", 0, 0, 1280, 720, displays[1], WINDOW_CENTER | WINDOW_TITLEBAR) I assume fullscreen (if possible) should be roughly there? I was looking through the documentation, but I couldn't find anything to make the game EXE fullscreen apart from fullscreen effects there was nothing mentioned also I couldn't find anything on how to hide the mouse cursor whilst the game is running edit: just figured it out from WINDOW_TITLEBAR to WINDOW_FULLSCREEN could need a little help with hiding the mouse cursor Quote Link to comment Share on other sites More sharing options...
klepto2 Posted March 29 Share Posted March 29 local window = CreateWindow("TEST LEVEL", 0, 0, 1280, 720, displays[1], WINDOW_CENTER | WINDOW_TITLEBAR | WINDOW_FULLSCREEN) 1 Quote Windows 10 Pro 64-Bit-Version NVIDIA Geforce 1080 TI Link to comment Share on other sites More sharing options...
N815 Posted March 29 Author Share Posted March 29 1 minute ago, klepto2 said: local window = CreateWindow("TEST LEVEL", 0, 0, 1280, 720, displays[1], WINDOW_CENTER | WINDOW_TITLEBAR | WINDOW_FULLSCREEN) Thanks Quote Link to comment Share on other sites More sharing options...
Thirsty Panther Posted March 29 Share Posted March 29 Your right about hiding the mouse cursor. Nothing in the docs about it. It was "window:HideMouse() " in Leadwerks. Maybe try that, as Josh may have missed it in the documentation. Otherwise post it in the forums as a suggestion to be added. Quote Link to comment Share on other sites More sharing options...
Josh Posted March 30 Share Posted March 30 window->SetCursor(CURSOR_NONE); 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...
N815 Posted March 30 Author Share Posted March 30 6 hours ago, Josh said: window->SetCursor(CURSOR_NONE); can you give this for Lua? I don't have the C++ version Quote Link to comment Share on other sites More sharing options...
Solution Josh Posted March 30 Solution Share Posted March 30 It appears the cursor constants are not exposed to Lua. I will add that now. In the meantime you can do this: window:SetCursor(0) 2 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...
N815 Posted March 30 Author Share Posted March 30 thanks Josh much appreciated 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.