i can haz gamez?. bret stateham microsoft developer evangelist email: bret.stateham@microsoft.com...

Post on 24-Dec-2015

212 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Windows Phone XNA Games

i can haz gamez?

Who Am I?

• Bret StatehamMicrosoft Developer EvangelistEmail:

Bret.Stateham@microsoft.comBlog:

http://BretStateham.comTwitter:

@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

top related