I typed that code and nothing happend, the screen still stands the same
props = WindowProperties()
I tryed setSize() instead and nothing too, what am I doing wrong? I know for you that is a simple issue but I didn’t find anything about it
props.setSize() is correct. You also need to do:
oh thank you =),
now the screen opens with the old size and then resize to 1280,960, how does it open instant?
The above code is for changing the size of an already-open window.
If what you want is to open the window in your requested size in the first place, you can either edit the win-size line in your Config.prc file, or you can embed this into your program as described in this thread.