摘要: 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 阅读全文
posted @ 2012-12-23 10:23 easyfrog 阅读(262) 评论(0) 推荐(0) 编辑