N815 Posted March 29, 2024 Posted March 29, 2024 --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
klepto2 Posted March 29, 2024 Posted March 29, 2024 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
N815 Posted March 29, 2024 Author Posted March 29, 2024 1 minute ago, klepto2 said: local window = CreateWindow("TEST LEVEL", 0, 0, 1280, 720, displays[1], WINDOW_CENTER | WINDOW_TITLEBAR | WINDOW_FULLSCREEN) Thanks Quote
Thirsty Panther Posted March 29, 2024 Posted March 29, 2024 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
Josh Posted March 30, 2024 Posted March 30, 2024 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.
N815 Posted March 30, 2024 Author Posted March 30, 2024 6 hours ago, Josh said: window->SetCursor(CURSOR_NONE); can you give this for Lua? I don't have the C++ version Quote
Solution Josh Posted March 30, 2024 Solution Posted March 30, 2024 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.
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.