Answers for "how to center a window in monogame"

C#
0

how to center a window in monogame

Window.Position = new Point(GraphicsDevice.Adapter.CurrentDisplayMode.Width / 2 - WIDTH * SCALE / 2, GraphicsDevice.Adapter.CurrentDisplayMode.Height / 2 - HEIGHT * SCALE / 2);
Posted by: Guest on November-08-2020

Code answers related to "how to center a window in monogame"

C# Answers by Framework

Browse Popular Code Answers by Language