Creating A Game Using Microsoft’s Next Generation Technologies

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

1 comments

Comments 1 - 1 of 1 previous next Post a comment

Post a comment
Embed Video
Edit your comment Cancel

Favorites, Groups & Events

Creating A Game Using Microsoft’s Next Generation Technologies - Presentation Transcript

  1.  
  2. Creating a Game Using Microsoft’s Next Generation Technologies (lvl. 300) Tamir Khason and Alex Golesh [email_address] | [email_address]
  3.  
  4. In 1 hour we will try to create…
    • The Street Racing Game
    • … which is network multiplayer game
    • … that runs on XBOX
    • … and personal computer
    • … with WPF
    • … in web browser (later iSmoke will come)
    • … also it runs on Linux
    • … and on mobile phone
  5. Now the time for…
    • The Street Racing Game
    • … which is network multiplayer game
    • … that runs on XBOX
    • … and personal computer
    • … with WPF
    • … in web browser (later iSmoke will come)
    • … also it runs on Linux
    • … and on mobile phone
  6. XNA Framework Overview Core Framework Graphics Audio Input Math Storage Extended Framework Application Model Content Pipeline Games Starter Kits Your Code Your Content Components Platform DirectX XDK .NET Framework .NET CF Networking Gamer Services Networking Gamer Services
  7. Let’s see XNA application creation
  8. Game Theory Level Level Level Level Level Load Content Update Draw
  9. XNA Game
    • Main game class should derive from Microsoft.Xna.Framework.Game
    • Class constructor should initialize graphics and other components game need
    • Networking – Session Creation
    Graphics Networking Components Audio Gamer Services
  10. LoadContent/Update/Draw
    • LoadContent
    • Update (occurs 60 times per second)
    • After this stage Draw being executed
  11. Now the time for…
    • The Street Racing Game
    • … which is network multiplayer game
    • … that runs on XBOX
    • … and personal computer
    • … with WPF
    • … in web browser (later iSmoke will come)
    • … also it runs on Linux
    • … and on mobile phone
  12. Now, we’ll make it better Core Framework Platform DirectX XDK .NET Framework .NET CF Networking Gamer Services WPF Base Services User Interface Services Audio Input & Eventing Accessibility XAML Data Binding Layout Controls Application services Deployment services Data LINQ XLINQ
  13. XNA Part harvesting
    • Add XNA references
    • Wrap Game class
    • Check whether the player is logged in
    • … and show login panel if not
    • Seek for active session
    • … and join it when found
  14. XNA Part transplantation
    • Create new game instance
    • XNA services and components
    • Subscribe to game events
    • Run the game
  15. XAML/WPF implantation
    • Create regular WPF Window
    • Create vector map and car
    • Bind to resources
    • And handle user’s input
  16. WPF implantation
    • Create data dependency object, wraps XNA transplants
    • Mark roads on XAML vectors
    • Now we can find it by using LINQ
    • And even check bounds
  17. Let’s see it running as WPF application with XNA implants
  18. Now the time for…
    • The Street Racing Game
    • … which is network multiplayer game
    • … that runs on XBOX
    • … and personal computer
    • … with WPF
    • … in web browser (later iSmoke will come)
    • … also it runs on Linux
    • … and on mobile phone
  19. But I want it anywhere! Core Framework Platform DirectX XDK .NET Framework .NET CF Networking Gamer Services WPF Base Services User Interface Services Audio Input & Eventing Accessibility XAML Data Binding Layout Controls Application services Deployment services Data LINQ XLINQ
  20. WPF Parts harvesting
    • Harvest XAML “as is”
    • Add small Silverlight
    • Put it into ASP.NET AJAX page
    • … and connect it to XAML based “server”
  21. ASP.NET AJAX implantation
    • Create Web Method to return current players list
    • Access the method from ASP.NET page with circular timer
    • … and update current players’ positions in XAML scene
  22. Silverlight 1.0 implantation
    • Create XAML object in JavaScript
    • Create and add it to the Silverlight scene
    • … and update it’s properties from JavaScript, based on server side variables
  23. Let’s see it playing together
  24. Will it blend on… ?
  25. Now the time for…
    • The Street Racing Game
    • … which is network multiplayer game
    • … that runs on XBOX
    • … and personal computer
    • … with WPF
    • … in web browser (later iSmoke will come)
    • … also it runs on Linux
    • … and on mobile phone
  26. Let’s see the game on … Linux
  27. Now the time for…
    • The Street Racing Game
    • … which is network multiplayer game
    • … that runs on XBOX
    • … and personal computer
    • … with WPF
    • … in web browser (later iSmoke will come)
    • … also it runs on Linux
    • … and on mobile phone
  28. … and now on … mobile phone
  29. Now the time for…
    • The Street Racing Game
    • … which is network multiplayer game
    • … that runs on XBOX
    • … and personal computer
    • … with WPF
    • … in web browser (later iSmoke will come)
    • … also it runs on Linux
    • … and on mobile phone
  30. At the end – what others do?
  31. Resources
    • Tamir’s blog http://blogs.microsoft.co.il/blogs/tamir
    • Alex’s blog http://blogs.microsoft.co.il/blogs/alex_golesh
    • XNA / WPF / Silverlight resources http://xna.com http://windowsclient.net http://silverlight.net
    • Next sessions in TechEd Israel DEV350 - The Hitchhiker's Guide to WPF Data Binding (Tomer Shamam) DEV432 - Building Composite WPF Applications Using Project Codename Prism (Glenn Block, Ohad Israeli)
  32. כדאי למלא משוב !
    • איך ממלאים ?
    • בעקבות מייל שישלח בסיום כל יום ,
    • ב - Business Center במתחם HP ,
    • בעמדות האינטרנט במלונות הילטון ודן
    מילאת משוב ? מגיעה לך חולצת Live It ! מלאת משוב בשלושת ימי הכנס ? יש לך הזדמנות לזכות ב כרטיס טיסה לתאילנד מתנת סוכנות BTC , מכשיר בלאק ג ' ק מתנת סמסונג , מכשיר HTC מתנת ניופאן , מדיה סנטר מתנת DataSafe ועוד ...
  33.  
  34. © 2007 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.

+ Tamir KhasonTamir Khason, 9 months ago

custom

1060 views, 0 favs, 0 embeds more stats

More info about this document

© All Rights Reserved

Go to text version

  • Total Views 1060
    • 1060 on SlideShare
    • 0 from embeds
  • Comments 1
  • Favorites 0
  • Downloads 16
Most viewed embeds

more

All embeds

less

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel
File a copyright complaint
Having problems? Go to our helpdesk?

Categories