Download presentation
Presentation is loading. Please wait.
Published byEmma Thornton Modified over 9 years ago
1
WPH310
2
Free Phone!
3
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
4
Display Capacitive touch Sensors Camera Hardware buttons CPU GPU Multimedia Memory
5
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
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
8 All games do three things XNA Framework provides the game loop framework on Windows Phone 7
9
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
10
LoadContent Method
12
Update and Draw Methods
13
Drawing Sprites Moving Sprites Create a Game Object Handling Input
14
Sprites – images you move around Textures – background images, skin other objects Texture2D represents an image
15
Drawing Sprites and Textures
16
2D games are a great way to start game development Cartesian coordinate system Track position, direction, and speed for each object
17
Vectors represent position and speed Position Vector (10,10) – location on screen Velocity Vector (0,10) – direction and speed
18
Vectors represent position and speed Changing length of velocity vector changes speed
19
Demo
21
Working with Game Objects
22
Demo
24
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
25
Demo
26
Full game examples in 2D and 3D Screen management sample Sprite Sheet sample Particle system sample Many other samples for specific game dev tasks http://create.msdn.com
27
Demo
28
Game Development is fun! XNA Game Studio provides a powerful development tool App Hub provides many great samples to get you started
29
Q&A
30
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.
31
Required Slide Track PMs will supply the content for this slide, which will be inserted during the final scrub.
32
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.
37
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 www.windowsphone.com Experience Windows Phone 7 on-line and get a backstage pass www.windowsphone.com
38
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
39
Resources www.microsoft.com/teched Sessions On-Demand & CommunityMicrosoft Certification & Training Resources Resources for IT ProfessionalsResources for Developers www.microsoft.com/learning http://microsoft.com/technet http://microsoft.com/msdn http://northamerica.msteched.com Connect. Share. Discuss.
41
Scan the Tag to evaluate this session now on myTechEd Mobile
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.