Home > XBOX > Video Game Console > XBOX 360 E User Guide

XBOX 360 E User Guide

Here you can view all the pages of manual XBOX 360 E User Guide. The XBOX manuals for Video Game Console are available online for free. You can easily download all the documents as PDF.

Page 161

DO-IT-YOURSELF GAMING!
Looking to completely maximize your Xbox 360’s
potential? Look no further than the XNA™
Game Studio
Express. With it, gamers can create their own Xbox
360 or Windows® games. Yes, you read that correctly,
you can create your own games for Xbox 360 and
Windows! Of course, this isn’t something everyone does on a
daily basis, but at any given moment, nearly every
gamer has thought, “This would make a great game!”
Well, with XNA, now you can do it. Thank Charles Cox, Michael Klucher,...

Page 162

XNA Creators Club
To develop games for the Xbox 360, you need a
membership in the XNA Creators Club. Obtain an
XNA Creators Club membership from the Xbox Live
Marketplace.
Additional Required Software Installed by Setup
The XNA Game Studio Express setup program installs the following additional required software.
DirectX® Runtime
XNA Game Studio Express setup installs the current version of the DirectX® runtime. The runtime is required in
order to use the XNA Framework game application programming...

Page 163

CONNECTING TO YOUR XBOX 360™
WITH XNA GAME STUDIO EXPRESS
XNA Game Studio Express allows you to easily create
games for both your Windows computer and your Xbox
360. By simply downloading XNA Game Studio
Express, you can begin developing for your Windows
computer. In order to begin developing for your Xbox
360 using XNA Game Studio Express, follow these
additional steps.
Step 1: Sign in to Xbox Live®
Turn on your Xbox 360 and sign in to Xbox Live. To use XNA Game Studio Express to develop games for...

Page 164

> A list of membership options for XNA Creators Club is displayed. Select the   optionyou wish to purchase, and press 1. Confirm your payment choice when asked. 
> A check mark next to the membership choice you selected indicates you have  enrolled in the XNA Creators Club.
After you download
the XNA Game Launcher
and join the XNA
Creators Club, you can
start the XNA Game
Launcher on your Xbox
360 and connect to your
Windows computer to
begin developing games.
Step 3: Connect Your Xbox 360™and...

Page 165

When the XNA Game Launcher appears on your
screen, you see three menu options:
> My XNA Games: Allows you to play games you have developed for your Xbox 360. 
> Connect to Computer: Allows you to connect to your Windows computer and receive new games
as you develop them. 
> Settings: Allows you to set a connection key, which is required before you begin sending
games to your Xbox 360. 
The next step is to generate a connection key. To do
so, use the Settings option: > Select the Settings option, and...

Page 166

deploy a game; the connection between your computer and your Xbox 360 is saved, even if you turn the Xbox
360 off or shut down your computer.
Step 4: Create and Deploy an Xbox 360™Project
Try out the Xbox 360 by deploying a simple, blank XNA Game Studio Express game to it: > On your Windows computer, at the main Visual C# 2005 Express Edition screen, click the File menu, and then click New Project.
> From the list of templates displayed, select Xbox 360 Game. Type a name for the project and a path, and...

Page 167

YOUR FIRST GAME: MICROSOFT XNA GAME STUDIO
EXPRESS IN 2-D
This section leads you through the steps necessary to create a very simple sprite-based game by using XNA
Game Studio Express.
Step 1: Install Your Software
Before you begin, make sure that you have installed all the necessary software, including Visual C# 2005
Express Edition and XNA Game Studio Express.
Step 2: Create a New Project
1. From the Start menu, click All Programs, then the Microsoft XNA Game Studio Express folder, and finally XNAGame...

Page 168

1. Make sure you can see the Solution Explorer for your project on the window’s right side. If you cannot see it,select the View menu, and then select Solution Explorer. When it appears, files associated with your project
appear in a tree structure.
2. Right-click on your project in Solution Explorer, click Add, and then click Existing Item. Browse to your graphic. If you can’t see any files, make sure you change the Files of Type Selection field to read Content Pipeline
Files. Click the graphic file,...

Page 169

6. Now, add code to the Draw loop so it looks like this:This code draws the sprite on the screen each frame.
7. Build and run your game. The sprite appears. Now, it’s time to give it some motion. 
Step 5: Make the Sprite Move and Bounce
Change the lines of code in and above the Update method to read this way:
164
Xbox 360™Han dbook

//store some info about the sprite’s motion
Vector2 spriteSpeed = new Vector2(50.0f, 50.0f);
protected override void Update(GameTime gameTime)
{ // Allows the default game...

Page 170

This code moves the sprite around each frame and cause it to change direction if it hits the edges of the
game window.
Step 6: Explore!
From here, you can do just about anything. Here are some more ideas to extend this sample:
> Experiment with the call to SpriteBatch.Draw. Change the Color parameter to tint the sprite.
> Add a second sprite and use BoundingBox objects to allow the sprites to collide with one another.
> Use the keyboard, mouse, or controller to make the sprite respond to movements of an...
Start reading XBOX 360 E User Guide

Related Manuals for XBOX 360 E User Guide

All XBOX manuals