2 Screens and A Cloud, Without Being Cut! An MMO in 45 Minutes DEV305
WHO WE ARE
Richard Banks Luke Drumm Aaron Powell Steven Nagy
WHAT’S THIS SESSION ALL ABOUT?
Not Quite “3 Screens and A Cloud”
Design, Architecture, Sharp Edges, Tips & Techniques
Team Development
Screen 1: Windows Phone 7
Screen 2: Windows PC
Cloud: Windows Azure
Beyond the Game: Web
Let’s Play!!
ORGANISING A TEAM
Agile Process
Weekly Planning via Skype
TFS 2010
Continuous Builds
Wiki
INITIAL CONCEPT
Sketch Flow (WP7)
Balsamiq (Web)
BUILDING IT: TOOLSET
Windows Azure SDK 1.4 XNA Game Studio 4.0 WP 7.1 ‘Mango’ SDK ASP.NET MVC 3 Portable Library Tools
NSubstitute MvvmLight Autofac Amplify JS Knockout JS RestSharp SnowMaker
BUILDING IT: ARCHITECTURE
Windows Client (XNA) Phone 7 Client (Silverlight & XNA) Holes & Stats Game State Updates Grouping Login ASP.NET MVC3 JSON Services Game Engine Data Persistence (Table Storage) Web Site JSON
BUILDING IT: WINDOWS XNA CLIENT
Model Creation
Lawn State
BUILDING IT: NETWORK COMMUNICATION
Trade-offs
Azure Security
Phone Latency
Movement Prediction
Minimising Traffic Volume
BUILDING IT: GAME STATE
Who’s the Boss?
Simulation Engine
Portable Library Tools
BUILDING IT: WEB SERVICES
Services Support All Clients
REST & JSON
Portable Library Tools
BUILDING IT: WP7 CLIENT
Silverlight & XNA
Device ID Usage
MvvmLight & RestSharp
Running Multiple Emulators
BUILDING IT: TABLE STORAGE
Why not SQL Azure?
Table Storage Repository
SnowMaker Id Generator
BUILDING IT: GAME COMPLETION
Azure Messages and Queues
Azure Worker Roles
BUILDING IT: THE WEB SITE
Extending the Game Beyond the Game
Single Page Web Application
JavaScript Libraries
BUILDING IT: WHAT ELSE WOULD WE DO?
Graphic Design!
Richer Gameplay Challenge
Mower Customisation and Levelling/Progression
2D Game Replays via Canvas
Sharding & Game Servers
Screen 3: Xbox 360 Client
Security and Hack Prevention
Voice Chat
Automated Azure Deployment
… and muchmuchmuchmuch more
QUESTION TIME!
Enrol in Microsoft Virtual Academy Today Why Enroll, other than it being free? The MVA helps improve your IT skill set and advance your career with a free, easy to access training portal that allows you to learn at your own pace, focusing on Microsoft technologies. What Do I get for enrolment? ► Free training to make you become the Cloud-Hero in my Organization ► Help mastering your Training Path and get the recognition ► Connect with other IT Pros and discuss The Cloud Where do I Enrol? Then tell us what you think.
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. (c) 2011 Microsoft. All rights reserved.
Sessions On-Demand & Community technet.microsoft.com/en-au Resources for IT Professionals Resources for Developers Microsoft Certification & Training Resources Resources (c) 2011 Microsoft. All rights reserved.