Xbox-360-StarterTemplate
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:A simple Xbox 360 starter template. Loads up an image and draws the image correctly using television screens and screened back buffer, and render rates at 1920 x 1080. This is just a template for anyone diving into C# Xbox / PC game programming.
This is a Starter Template for anyone looking to dive into XNA - Xbox 360 and Windows game programming. 

All that is included is a backbuffer function called configureScreen(), that aligns
up the _background.png image on your television screen. You can also run this code
on Windows.

Just create a new Project in Visual C#, add the Xbox XNA template,
copy paste the Game1.CS code, and do nothing else. Unless you plan on editing the Assembly.CS and other .CS files.

Then duplicate your Xbox Game Project into a Windows Version
Right Click and Debug. 

All you should see is an image that shows up on screen.

That's it. 

You will also have to edit the directory of where the image lies in the content
references. Just edit the "BG\\" and enter your desired directory path. 

Hopefully this gets you up and running! :) 

All you should see is just an image load up on screen with the Texture2D and
Rectangle being drawn via the spriteBatch.Draw() and spriteBatch.End(); 

Replace image with your own and start making games!

Also the image is sized at HD size. 1920 x 1080.

本源码包内暂不包含可直接显示的源代码文件,请下载源码包。