Answers for "pygame custom window size"

C#
3

how to set a custom size for window in monogame

graphics.PreferredBackBufferWidth = WIDTH;  // set this value to the desired width of your window
graphics.PreferredBackBufferHeight = HEIGHT;   // set this value to the desired height of your window
graphics.ApplyChanges();
Posted by: Guest on July-17-2020

C# Answers by Framework

Browse Popular Code Answers by Language