Hello! I’m trying to figure out how to do two things from within a Lua script:
-
Activate full screen mode. I want to add a key that toggles between full screen and windowed mode.
-
Control window size. I would like to set the window size at startup time, and the display->width/height options in project settings have the unfortunate side effect of changing the viewport size as well.