|
Links of Interest
MainDownload Prerequisites Screenshots Articles/Code Snippets DBP Warmup Entries Blog Contact/Feedback Quick Downloads:
Diaspora
XNA Requirements Installer
External Links
Heather [layout designer]XNA |
Split Screen
Viewport viewport = new Viewport(); viewport.Width = graphics.GraphicsDevice.DisplayMode.Width / 2; viewport.Height = graphics.GraphicsDevice.DisplayMode.Height / 2; viewport.X = graphics.GraphicsDevice.DisplayMode.Width / 2; viewport.Y = 0; // set the viewport graphics.GraphicsDevice.Viewport = viewport; // render here // switch to another viewport if necessary and render again |