Skip to Main Content
Learning XNA 3.0
book

Learning XNA 3.0

by Aaron Reed
November 2008
Beginner content levelBeginner
510 pages
16h 24m
English
O'Reilly Media, Inc.
Content preview from Learning XNA 3.0

Creating a Zune Project

Once your Zune device is listed in the Device Center, you're ready to start working on some Zune games. To create a project for the Zune, open Visual Studio and select File → New → Project. The New Project window will appear, as seen in Figure 8-5. Select Visual C# → XNA Game Studio 3.0 as the project type from the menu on the left side of the New Project window, and select the Zune Game (3.0) template on the right. Name your solution MyZuneGame, specify a directory for your game, and click OK.

Creating a Zune game project

Figure 8-5. Creating a Zune game project

Once you click OK, your project will be created for you. Just like when developing a game for Windows, the code generated will have a skeleton game application consisting of a Game1 class with a constructor and Initialize, LoadContent, UnloadContent, Update, and Draw methods, as well as additional helper classes and content. The generated code will create the same familiar cornflower-blue screen that you saw when you first began developing your Windows game earlier in this book.

The content pipeline also has the same behavior as that covered in previous chapters. In fact, the entire architecture of a Zune game is essentially identical to that of a Windows or Xbox 360 game. Most of the code that you write for those platforms will be directly compatible with the Zune—with a few exceptions. This chapter will cover those differences, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning XNA 4.0

Learning XNA 4.0

Aaron Reed
Beginning C# 7 Programming with Visual Studio 2017

Beginning C# 7 Programming with Visual Studio 2017

Benjamin Perkins, Jacob Vibe Hammer, Jon D. Reid

Publisher Resources

ISBN: 9780596154905Supplemental ContentErrata Page