Developing games for Windows Phone7 using XNA


Published on

introduction on how to develop games for Windows Phone7 using XNA

Published in: Business
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Developing games for Windows Phone7 using XNA

  1. 1. Developing games for Windows Phone7 using XNA<br />By Johnson Ma<br />
  2. 2. Windows Phone 7 Platform<br />
  3. 3. Windows Phone 7 as a Gaming Platform<br />Apps stat in Marketplace<br /><ul><li>Windows Phone 7 as a game platform
  4. 4. Attract game companies and developers
  5. 5. Most applications are games!</li></li></ul><li>Use XNAorSilverlight?<br />Use XNA if you want to:<br />Shorten development time<br />Create high performance 3D game <br />Also support Xbox 360<br />More bitmap based motion and particle effects <br />Vs<br />
  6. 6. What is XNA<br />XNA is a cross platform game development and management framework based on Microsoft .Net runtime<br />XNA runtime is available for Windows, Windows Phone7 and Xbox360<br />Open source runtimes are available for Linux, Android and Mac/IPhone (Mono, MonoTouch by Novell)<br />XNA framework encapsulates low-level technological details in coding a game, allows developers to focus more on the content and gaming experience.<br />The first version released in 2004, latest version is 4.0 (Sep 2010)<br />
  7. 7. XNA Overview<br />
  8. 8. XNA Game Dev (0) -- Environment<br />Download and install Windows Phone Developer Tools (Free!). <br />Visual Studio 2010 Express for Windows Phone<br />Windows Phone Emulator<br />Silverlight for Windows Phone<br />XNA Game Studio 4.0<br />Expression Blend 4 for Windows Phone<br />
  9. 9. XNA Game Dev(1) --Game Design<br />Main Menu <br />What can player see?<br />What can they choose?<br />What happens next?<br />
  10. 10. XNA Game Dev(2) --Game Flow<br />Game Loop<br />
  11. 11. XNA Game Dev(3) --Responding to User Input<br />APIs to supports Keyboard, Mouse, Gamepad (Xbox 360), TouchPad(Phone)<br />Multitouch on Windows Phone7<br />Soft keyboard for Windows Phone<br />Microphone to capture audio to be used in your game<br />
  12. 12. XNA Game Dev(4) --Display Graphic<br />Rendering 2D with Sprites and Text<br />SpriteBatch: batch operation to draw 2D bitmaps directly to the screen<br />Sprite Scaling: hardware accelerated<br />Sprite Font: draw text on screen with pos, color,<br />Rotation, origin and scaling<br />Rendering 3D with Effects<br />Pipeline to load resource<br />World, view and projection transforms 3D scene to 2D space<br />Built-in basic effects: transparency, texture, lighting, fog, specula, diffuse<br />
  13. 13. XNA Game Dev(5) --Advanced Topics<br />Play Sounds:<br />3D audio, Built-in sound effects, audio buffers<br />Play Videos:<br />Supports HD video (720p)<br />Supports play video on a Surface<br />Xbox Live for online game<br />Game service to support Xbox live account<br />Display and animating gamer avatar <br />
  14. 14. XNA and Azure Cloud<br />Windows Azure storage services<br />Authentication and authorization<br />Push notification<br />
  15. 15. Summary of XNA Benefits<br />Creating high performance game in less time<br />Cross platform <br />game logic<br />Rendering and effects<br />GPU for performance<br />Support multiplayer games<br />Game social network --- Xbox live!<br />
  16. 16. Thank you <br />