Windows Phone
 XNA Games
  i can haz gamez?
Who Am I?
• Bret Stateham
  Microsoft Developer Evangelist
  Email:
     Bret.Stateham@microsoft.com
  Blog:
     http://BretStateham.com
  Twitter:
     @BretStateham
What’s Up?
• Quick intro to Phone XNA games
• Make a game

• The goal is to help you see that:
   – Game dev is easier than you think
   – You can make a game

• The goal is NOT to
   – Make a world class game
   – Let you sit there and not get involved
Quick Intro to Phone XNA Games

•   Need Windows Phone Dev Tools
•   XNA Game Studio included
•   New Project Templates in Studio
•   Typical game solution
    – “Game” project
    – “Content” project
What is Content?
• The assets your game uses
• Graphics
  – Start / End of Game screens
  – Game elements (Sprites)
• Fonts (SpriteFonts)
• Sounds
XNA Game Structure
• Main class is
  – Microsoft.Xna.Framework.Game
• Main Methods
  – Constructor
  – Initialize
  – LoadContent
  – Update
  – Draw
  – UnloadContent
Sprites
• Single image

• Image matrix

Windows Phone XNA Games

  • 1.
    Windows Phone XNAGames i can haz gamez?
  • 2.
    Who Am I? •Bret Stateham Microsoft Developer Evangelist Email: Bret.Stateham@microsoft.com Blog: http://BretStateham.com Twitter: @BretStateham
  • 3.
    What’s Up? • Quickintro to Phone XNA games • Make a game • The goal is to help you see that: – Game dev is easier than you think – You can make a game • The goal is NOT to – Make a world class game – Let you sit there and not get involved
  • 4.
    Quick Intro toPhone XNA Games • Need Windows Phone Dev Tools • XNA Game Studio included • New Project Templates in Studio • Typical game solution – “Game” project – “Content” project
  • 5.
    What is Content? •The assets your game uses • Graphics – Start / End of Game screens – Game elements (Sprites) • Fonts (SpriteFonts) • Sounds
  • 6.
    XNA Game Structure •Main class is – Microsoft.Xna.Framework.Game • Main Methods – Constructor – Initialize – LoadContent – Update – Draw – UnloadContent
  • 7.