1 / 25

Creating Games for the Zune

Learn about the basics of creating games for the Zune media player, including the tools and resources needed to get started. Discover the potential for fun and creative game ideas integrating music and pictures with your games.

dstone
Download Presentation

Creating Games for the Zune

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Dan Waters, Academic Relations Manager, Microsoft Creating Games for the Zune

  2. Who am I? Dan Waters Academic Relations Manager Microsoft – Southeast region dan.waters@microsoft.com http://danwaters.com http://twitter.com/danwaters

  3. Please Text! • If you like what you see today, please: • Text W17 to 23000 (standard rates apply)

  4. 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 XYZto 23000 • So if you really liked the presentation, text:FB17 55Y to 23000

  5. What is a Zune?

  6. What is a Zune? • First and foremost: a media player • Plays media of varying formats: • Audio • Video • Live radio • Pictures • Podcasts

  7. 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

  8. Zune Tags • Your “identity” in the Zune Social • You can place this tag on websites to tell people about your music interests.

  9. 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

  10. 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.

  11. The Installation Process • Install Visual Studio 2008. • Install Zune software & driver for devicehttp://www.zune.net • Install XNA Game Studio 3.0http://creators.xna.comXNA installs as part of Visual Studio.

  12. Registering a Zune, part 1 • Connect the Zune via USB. Close the Zune software if it launches. Open Visual Studio.

  13. Registering a Zune, part 2 • Launch the XNA Game Studio Device Center (Tools menu) and click Add Device.

  14. Registering a Zune, part 3 • Select the Zune you want to register, and then click Next.

  15. 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.

  16. Making Your First Game • Create a new Zune Game project • Check your default Zune in the Device Center • Control+F5 to run!

  17. Anatomy of an XNA Game • Four important methods: Initialize, LoadContent, Update, Draw

  18. Initialize • Used to set up objects and initialize variables once, before the game starts • Cannot use content yet, because it hasn’t been loaded.

  19. LoadContent • Used to get content (images and sounds) into the game • Called only once, after Initialize

  20. 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.

  21. Draw • Draws content on the screen using a Sprite Batch • Called as often as possible

  22. 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.

  23. Demo Building a quick game

  24. Please Text! • If you like what you see today, please: • Text W17 to 23000 (standard rates apply)

  25. 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 XYZto 23000 • So if you really liked the presentation, text:FB17 55Y to 23000

More Related