摘要:
1.改变 游戏窗口的大小GraphicsDeviceManager graphics = new GraphicsDeviceManager(this);graphics.PreferredBackBufferWidth= 800;graphics.PreferredBackBufferHeight = 400;2.得到键盘鼠标事件KeyboardState keyboard = Keyboard.GetState();MouseState mouse = Mouse.GetState();可以在 Update 方法中.接收用户的输入事件:if (keyboard.IsKeyDown(Keys 阅读全文