Jump to content

game EXE - I can't find a reference to fullscreen


Go to solution Solved by Josh,

Recommended Posts

Posted

 

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

 

Posted

local window = CreateWindow("TEST LEVEL", 0, 0, 1280, 720, displays[1], WINDOW_CENTER | WINDOW_TITLEBAR | WINDOW_FULLSCREEN)

  • Thanks 1
  • Windows 10 Pro 64-Bit-Version
  • NVIDIA Geforce 1080 TI
Posted
1 minute ago, klepto2 said:

local window = CreateWindow("TEST LEVEL", 0, 0, 1280, 720, displays[1], WINDOW_CENTER | WINDOW_TITLEBAR | WINDOW_FULLSCREEN)

Thanks

Posted

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.

 

  • Solution
Posted

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)

  • Like 2

My job is to make tools you love, with the features you want, and performance you can't live without.

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.

×
×
  • Create New...