WPH310
Free Phone!
Windows Phone 7 as a Game Platform Free Tools to Build Great Games The Game Loop Input on Windows Phone 7 Building a Game with Your Friend AppHub
Display Capacitive touch Sensors Camera Hardware buttons CPU GPU Multimedia Memory
5 Consistent hardware across OEMs Performance is impressive, especially in 3D Xbox Live is a key platform feature Great tooling to facilitate game development
7 All games do three things Each of these behaviors maps to a method in the game class created by Visual Studio at the time the XNA game project is created
8 All games do three things XNA Framework provides the game loop framework on Windows Phone 7
Manage assets in Visual Studio Importers for common game data formats Optimize data into binary format for efficient loading Fully extensible Compile time checking Content projects external in XNA Game Studio 4.0
LoadContent Method
Update and Draw Methods
Drawing Sprites Moving Sprites Create a Game Object Handling Input
Sprites – images you move around Textures – background images, skin other objects Texture2D represents an image
Drawing Sprites and Textures
2D games are a great way to start game development Cartesian coordinate system Track position, direction, and speed for each object
Vectors represent position and speed Position Vector (10,10) – location on screen Velocity Vector (0,10) – direction and speed
Vectors represent position and speed Changing length of velocity vector changes speed
Demo
Working with Game Objects
Demo
Values for each axis are in the same range The Accelerometer can measure acceleration in X, Y, and Z A value of 1 means 1G
Demo
Full game examples in 2D and 3D Screen management sample Sprite Sheet sample Particle system sample Many other samples for specific game dev tasks
Demo
Game Development is fun! XNA Game Studio provides a powerful development tool App Hub provides many great samples to get you started
Q&A
Required Slide Speakers, please list the Breakout Sessions, Interactive Discussions, Labs, Demo Stations and Certification Exam that relate to your session. Also indicate when they can find you staffing in the TLC.
Required Slide Track PMs will supply the content for this slide, which will be inserted during the final scrub.
Required Slide Speakers, please list the Breakout Sessions, Interactive Discussions, Labs, Demo Stations and Certification Exam that relate to your session. Also indicate when they can find you staffing in the TLC.
Visit the Windows Phone Technical Learning Center for demos and more… Business IT resources blogs.technet.com/b/ windows_phone_4_it_pros Business IT resources blogs.technet.com/b/ windows_phone_4_it_pros Developer resources craete.msdn.com Developer resources craete.msdn.com Experience Windows Phone 7 on-line and get a backstage pass Experience Windows Phone 7 on-line and get a backstage pass
QUESTIONS? How do you enter? How am I selected? During each Windows Phone session the moderator will post a question; the first person to correctly answer the question and is called on by the moderator will potentially win * Restrictions apply please see contest rules for eligibility and restrictions. Contest rules are displayed in the Technical Learning Center at the WPH info counter
Resources Sessions On-Demand & CommunityMicrosoft Certification & Training Resources Resources for IT ProfessionalsResources for Developers Connect. Share. Discuss.
Scan the Tag to evaluate this session now on myTechEd Mobile