Jump to content

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


N815
 Share

Go to solution Solved by Josh,

Recommended Posts

 

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

 

Link to comment
Share on other sites

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

  • Thanks 1
  • Intel® Core™ i7-8550U @ 1.80 Ghz 
  • 16GB RAM 
  • INTEL UHD Graphics 620
  • Windows 10 Pro 64-Bit-Version
Link to comment
Share on other sites

1 minute ago, klepto2 said:

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

Thanks

Link to comment
Share on other sites

  • Solution

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.

Link to comment
Share on other sites

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.

 Share

×
×
  • Create New...