Jump to content

4.4Beta Window.Fullscreen not working


Recommended Posts

Hi

In latest 4.4Beta this line wont work anymore

window=Window:Create(title,0,0,System:GetProperty("screenwidth","1920"),System:GetProperty("screenheight","1080"),Window.FullScreen)

Previous beta it is working just fine. Im using FPS template in AI and Event map.

It comes up with error attempt to index global 'window' (a nil value)

 

 

 

 

Link to comment
Share on other sites

8 hours ago, Crazycarpet said:

Josh probably simply forgot to expose the Window class to Lua.

The other window styles available work just fine, but for some reason 'Window.FullScreen' or 'Window.Fullscreen' no longer works.

 

Quote

"Window" or "window" it's certainly not "window" because you're assigning the global variable and never reading from it... big difference.

It errors whenever the variable 'window' is used after it fails to create the window due to the fullscreen style not working any more.

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

Link to comment
Share on other sites

  • Josh locked this topic
Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...