我正在使用Monogame和C#开发游戏。我有一个wpf应用程序,用于全屏启动的菜单。当我单击菜单上的“播放”时,我进入了Monogame项目。如何像使用wpf菜单一样全屏启动Monogame解决方案?
最佳答案
您可以将IsFullscreen
属性设置为true
。
//you likely already have this line (or similar)
graphics = new GraphicsDeviceManager(this);
//set the GraphicsDeviceManager's fullscreen property
graphics.IsFullScreen = true;
关于c# - 如何在Monogame中全屏启动?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/15301735/