Godot Version
v4.7.beta5.official [bbd3f43b5] - Linux x86_64
Question
Hi,
Quick question:
Is there a method to force a game’s window on desktop computer versions to maximize on game start?
We do this in our SDL2 game, just wondering if possible in Godot v4.7 Beta 5+?
Let us know, thanks!
SS
What do you mean by this? Do you want to make the window start up in maximized or maximize immediately after loading? For the first option, go to Project > Project Settings… > Display > Window > Size > Mode. Set that to Maximized. For the second one… I think there’s a function for that, but I’d have to poke around.
For the second one, put this line where you want to maximize the window: get_window().mode = Window.MODE_MAXIMIZED. Should work, not tested.