creating games for the zune
DESCRIPTION
Dan Waters, Academic Relations Manager, Microsoft. Creating Games for the Zune. Who am I?. Dan Waters Academic Relations Manager Microsoft – Southeast region [email protected] http://danwaters.com http://twitter.com/danwaters. Please Text!. If you like what you see today, please: - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Creating Games for the Zune](https://reader031.vdocuments.mx/reader031/viewer/2022020308/56816930550346895de07b73/html5/thumbnails/1.jpg)
Creating Games for the Zune
Dan Waters, Academic Relations Manager, Microsoft
![Page 2: Creating Games for the Zune](https://reader031.vdocuments.mx/reader031/viewer/2022020308/56816930550346895de07b73/html5/thumbnails/2.jpg)
Who am I?
Dan WatersAcademic Relations ManagerMicrosoft – Southeast region
[email protected]://danwaters.comhttp://twitter.com/danwaters
![Page 3: Creating Games for the Zune](https://reader031.vdocuments.mx/reader031/viewer/2022020308/56816930550346895de07b73/html5/thumbnails/3.jpg)
Please Text!
If you like what you see today, please:
Text W17 to 23000 (standard rates apply)
![Page 4: Creating Games for the Zune](https://reader031.vdocuments.mx/reader031/viewer/2022020308/56816930550346895de07b73/html5/thumbnails/4.jpg)
Survey Text – Feedback Please! X = How was the presentation? (1-5,
5 is best) Y = How was I? (1-5) Z = Would you recommend this
presentation? (Y or N)
Text FB17 XYZ to 23000
So if you really liked the presentation, text:FB17 55Y to 23000
![Page 5: Creating Games for the Zune](https://reader031.vdocuments.mx/reader031/viewer/2022020308/56816930550346895de07b73/html5/thumbnails/5.jpg)
What is a Zune?
![Page 6: Creating Games for the Zune](https://reader031.vdocuments.mx/reader031/viewer/2022020308/56816930550346895de07b73/html5/thumbnails/6.jpg)
What is a Zune?
First and foremost: a media player Plays media of varying formats:
Audio Video Live radio Pictures Podcasts
![Page 7: Creating Games for the Zune](https://reader031.vdocuments.mx/reader031/viewer/2022020308/56816930550346895de07b73/html5/thumbnails/7.jpg)
Online Services for Zune
Zune Marketplace Allows you to search for, buy, download
and maintain a library of content (music, podcasts, videos, etc)
All transactions are linked to your Windows Live ID (such as a @hotmail.com, @msn.com, or @live.com email address)
Zune Social A social community of Zune owners
![Page 8: Creating Games for the Zune](https://reader031.vdocuments.mx/reader031/viewer/2022020308/56816930550346895de07b73/html5/thumbnails/8.jpg)
Zune Tags
Your “identity” in the Zune Social You can place this tag on websites to
tell people about your music interests.
![Page 9: Creating Games for the Zune](https://reader031.vdocuments.mx/reader031/viewer/2022020308/56816930550346895de07b73/html5/thumbnails/9.jpg)
Why write games for the Zune? Opportunity Fun Easy if you know .NET, yet
challenging in some ways. Zune is powerful for its size Potential for interesting ideas
integrating music & pictures with your game
Same tools used to create games for the Xbox 360 and PC
![Page 10: Creating Games for the Zune](https://reader031.vdocuments.mx/reader031/viewer/2022020308/56816930550346895de07b73/html5/thumbnails/10.jpg)
Getting Started
You will need: Intermediate knowledge of the C#
programming language. Visual Studio 2008 (any version,
including Express) XNA Game Studio 3.0 A Zune device with firmware version 3.0
or later.
![Page 11: Creating Games for the Zune](https://reader031.vdocuments.mx/reader031/viewer/2022020308/56816930550346895de07b73/html5/thumbnails/11.jpg)
The Installation Process
1. Install Visual Studio 2008.2. Install Zune software & driver for
devicehttp://www.zune.net
3. Install XNA Game Studio 3.0http://creators.xna.comXNA installs as part of Visual Studio.
![Page 12: Creating Games for the Zune](https://reader031.vdocuments.mx/reader031/viewer/2022020308/56816930550346895de07b73/html5/thumbnails/12.jpg)
Registering a Zune, part 1 Connect the Zune via USB. Close the
Zune software if it launches. Open Visual Studio.
![Page 13: Creating Games for the Zune](https://reader031.vdocuments.mx/reader031/viewer/2022020308/56816930550346895de07b73/html5/thumbnails/13.jpg)
Registering a Zune, part 2 Launch the XNA Game Studio Device
Center (Tools menu) and click Add Device.
![Page 14: Creating Games for the Zune](https://reader031.vdocuments.mx/reader031/viewer/2022020308/56816930550346895de07b73/html5/thumbnails/14.jpg)
Registering a Zune, part 3 Select the Zune you want to register,
and then click Next.
![Page 15: Creating Games for the Zune](https://reader031.vdocuments.mx/reader031/viewer/2022020308/56816930550346895de07b73/html5/thumbnails/15.jpg)
Registering a Zune, part 4 The software tests connectivity and
the setup is complete. Make sure the Zune you want to deploy to is set as default.
![Page 16: Creating Games for the Zune](https://reader031.vdocuments.mx/reader031/viewer/2022020308/56816930550346895de07b73/html5/thumbnails/16.jpg)
Making Your First Game
1. Create a new Zune Game project2. Check your default Zune in the
Device Center3. Control+F5 to run!
![Page 17: Creating Games for the Zune](https://reader031.vdocuments.mx/reader031/viewer/2022020308/56816930550346895de07b73/html5/thumbnails/17.jpg)
Anatomy of an XNA Game Four important methods: Initialize,
LoadContent, Update, Draw
![Page 18: Creating Games for the Zune](https://reader031.vdocuments.mx/reader031/viewer/2022020308/56816930550346895de07b73/html5/thumbnails/18.jpg)
Initialize
Used to set up objects and initialize variables once, before the game starts
Cannot use content yet, because it hasn’t been loaded.
![Page 19: Creating Games for the Zune](https://reader031.vdocuments.mx/reader031/viewer/2022020308/56816930550346895de07b73/html5/thumbnails/19.jpg)
LoadContent
Used to get content (images and sounds) into the game
Called only once, after Initialize
![Page 20: Creating Games for the Zune](https://reader031.vdocuments.mx/reader031/viewer/2022020308/56816930550346895de07b73/html5/thumbnails/20.jpg)
Update
This is where all of your game logic goes
Collision detection, updating subsystems, updating object properties
Runs at a target rate of 60 times per second.
![Page 21: Creating Games for the Zune](https://reader031.vdocuments.mx/reader031/viewer/2022020308/56816930550346895de07b73/html5/thumbnails/21.jpg)
Draw
Draws content on the screen using a Sprite Batch
Called as often as possible
![Page 22: Creating Games for the Zune](https://reader031.vdocuments.mx/reader031/viewer/2022020308/56816930550346895de07b73/html5/thumbnails/22.jpg)
Sprite Batches
A group of textures (images) that are drawn together before being sent to the graphics device for final rendering
All Zune games use sprite batches, whereas Xbox 360 and PC games can use other means.
![Page 23: Creating Games for the Zune](https://reader031.vdocuments.mx/reader031/viewer/2022020308/56816930550346895de07b73/html5/thumbnails/23.jpg)
DemoBuilding a quick game
![Page 24: Creating Games for the Zune](https://reader031.vdocuments.mx/reader031/viewer/2022020308/56816930550346895de07b73/html5/thumbnails/24.jpg)
Please Text!
If you like what you see today, please:
Text W17 to 23000 (standard rates apply)
![Page 25: Creating Games for the Zune](https://reader031.vdocuments.mx/reader031/viewer/2022020308/56816930550346895de07b73/html5/thumbnails/25.jpg)
Survey Text – Feedback Please! X = How was the presentation? (1-5,
5 is best) Y = How was I? (1-5) Z = Would you recommend this
presentation? (Y or N)
Text FB17 XYZ to 23000
So if you really liked the presentation, text:FB17 55Y to 23000