Developing Connected Games with a Cloud Backend

Post on 12-Feb-2017

552 views 4 download

Transcript of Developing Connected Games with a Cloud Backend

Nick LandrySenior Technical Evangelist – Microsoft

nick.landry@microsoft.com

Blog: AgeofMobility.com

@ActiveNick | github.com/ActiveNick

Developing Connected Games

with a Cloud Backend

Gameacon 2015

Atlantic City, NJ

Online multiplayer gameGame hosted online (e.g.

browser-based games)

Game with online

leaderboards & achievements

Game with persistent player

or character profiles onlineGame with cloud saves

Game with online social

player features (e.g. chat, VoIP,

social media sharing, etc.)

Peer-to-Peer networked

game with a matchmaking

server

Massively Multiplayer Online

(MMO) game (e.g. RPG, RTS,

FPS, etc.)

Y

AX B

• GameSparks

• Photon

• PlayfabY

AX B

Cloud Computing Models

On-Premises( Private Cloud )

Networking

Compute

Storage

Virtual Machine

Operating System

Applications

Data & Access

Runtime

Yo

u P

rovis

ion

& M

an

ag

e

Infrastructure( as a Service )

Networking

Compute

Storage

Virtual Machine

Operating System

Applications

Data & Access

Runtime

Ph

ysica

l Fab

ric

Man

ag

ed

by V

en

do

r

Yo

u P

rovis

ion

& M

an

ag

e

Platform( as a Service )

Pro

visio

ned

& M

an

ag

ed

by V

en

do

r

Yo

u M

an

ag

e

Networking

Compute

Storage

Virtual Machine

Operating System

Data & Access

Runtime

Applications

Software( as a Service )

Pro

visio

ned

& M

an

ag

ed

by V

en

do

r

Networking

Compute

Virtual Machine

Operating System

Data & Access

Runtime

Applications

StorageYo

u P

rovis

ion

Clo

ud

Serv

ices

Yo

u M

an

ag

e

Host Develop Consume

Using Azure as a Backend for Gamesaka “The Microsoft Cloud”

Titanfall

(Respawn / EA)

Halo 5: Guardians &

Halo: Waypoint

Crackdown 3

(Realtime Worlds / MS)

Forza Motorsport

(Turn 10 Studios / MS)

Minecraft

(Mojang / MS)

Age of Ascent

(Illyriad Games)

Crime Coast

(Pixel Squad)

Zoo Tycoon Friends

(Behaviour Interactive /

MS)

Spectra

(Gateway Interactive)

Project Sanitarium

(Radication Games)

Elastagames Cloud

Predictions

Titanfall

Game sessions hosted

using Azure

Hosted using >100,000

Azure Virtual Machines

Platform Services

Security & Management

Infrastructure Services

APIManagement

Content DeliveryNetwork (CDN)

MediaServices

HDInsight

DataFactory

EventHubs

MobileEngagement

ActiveDirectory

Multi-FactorAuthentication

Automation

Portal

Key Vault

BiztalkServices

HybridConnections

ServiceBus

StorageQueues

Store /Marketplace

HybridOperations

Backup

StorSimple

SiteRecovery

Import/Export

SQLDatabase

DocumentDB

RedisCache Search

Tables

SQL DataWarehouse

Azure AD Connect Health

AD PrivilegedIdentity Management

OperationalInsights

CloudServices

Batch Remote App

ServiceFabric

Visual Studio

ApplicationInsights

Azure SDK

Team Project

VM Image Gallery& VM Depot

AppService

Web Apps

MobileApps

IoT

Su

ite

APIApps

LogicApps

NotificationHubs

MachineLearning

StreamAnalytics

IoT Hub

PowerBI

Add value to your Linux investments

Embrace open source DevOps

Bring the tools you use and love

Build hyperscale at hyperspeed

Azure

footprint

17 regions worldwide in 2015

Data Centers

Regional Partners

Getting started

>_

REST API

Management portal

Scripting (Windows, Linux and Mac)

Select image and VM size

New disk persisted in storage

Cloud

BlobStorage

Comprehensive Networking

Windows Server

Linux

Boot VM from new disk

General Purpose

Basic

Standard

Optimized Compute

Performance Optimized

Network Optimized

Cloud

Services

Service

Fabric

arbitrary data formatsarbitrary data formats

internet accessible http/rest

schema-free data model

managed as a service

elastic scale

transactional processing

rich query

Microsoft

Azure

Microsoft

Azure

Halo Series

Matchmaking &

Community on Azure

Uses Service Bus &

DocumentDB

• Every game needs a marketing website

Azure App Services

Web Apps

Mobile Apps

Logic Apps

API Apps

Auto Patching and Auto Scale

.NET, Java, Node.js, PHP, Python…

Integrate with SaaS and on prem

Continuous integration with VSO,

Github, Bitbucket, and more…

Node.js Express

.NET Web API

SQL Table Storage

Blob Storage

WNS & MPNS

APNS GCM

Mongo DB

Notification Hubs

Source Control

Facebook Twitter Microsoft Google Azure Active Directory

Windows 10

Windows Store

iOS

Android

Xamarin

Phonegap

Any REST client…

Win 10 Mobile

Windows Phone

iOS

Android

HTML 5/JS

SDKs

REST A

PI

Hybrid Connections

DemoAzure App Services

Dead Rising Series

Tracks user interactions

in real time

Detailed bug reports

from testers

Destiny

Collects Telemetry from

most user actions

Uses data to balance

game weekly

http://www.ageofascent.com

• Apply at aka.ms/bizsparkapply

• Visual Studio Enterprise Edition

• Office 365 Subscription

• Windows licenses

• Server software licenses

• All licenses are yours to keep

• No commitment to buy

aka.ms/bizsparkapply

Microsoft

Azure

http://aka.ms/unityplugins

https://github.com/bitrave/azure-mobile-services-for-unity3d

http://aka.ms/kqd1xf

http://www.websocket.org

http://buildnewgames.com/websockets

• Adam Tuliper: http://www.adamtuliper.com

• Jason Walters: http://glitchbeam.com

• Stacey Mulcahy http://thebitchwhocodes.com

• Dave Voyles http://www.davevoyles.com

• David Crook http://blogs.msdn.com/b/dave_crooks_dev_blog

• Sarah Sexton http://blogs.msdn.com/b/sarahsays

• Amanda Lange http://secondtruth.com

• Nick Landry http://AgeofMobility.com

• Sidney Andrews http://www.seesharprun.net

• Chad Carter http://devgame101.com

http://aka.ms/trymsazure

• Free software & Azure credits for startups and indie game studios: http://aka.ms/bizsparkapply

https://manage.windowsazure.com

https://portal.azure.com

http://channel9.msdn.com/Shows/Cloud+Cover

http://friday.azure.com

http://aka.ms/azurechatrblog

http://www.visualstudio.com

Microsoft

Azure

http://news.xbox.com/2013/10/15/xbox-one-cloud/

https://azure.microsoft.com/en-us/documentation/videos/how-halo-4-is-using-service-bus/https://azure.microsoft.com/en-us/blog/how-halo-5-guardians-implemented-social-gameplay-using-azure-documentdb/

http://arstechnica.com/gaming/2015/08/how-crackdown-3-uses-the-cloud-to-make-whole-cities-destructible/

https://azure.microsoft.com/en-us/blog/how-halo-5-guardians-implemented-social-gameplay-using-azure-documentdb/

http://www.engadget.com/2014/03/10/titanfall-cloud-explained/

https://msdn.microsoft.com/en-us/age-of-ascent-msdn

http://www.crimecoast.com/ https://channel9.msdn.com/Blogs/DevRadio/DR1620

http://www.spectragame.info/

http://elastagames.com/ https://channel9.msdn.com/Blogs/DevRadio/DR1616#time=1m01s

http://sanitarium.radicationgames.com/ https://channel9.msdn.com/Blogs/DevRadio/DR1614http://pcgamereport.com/project-sanitarium/

http://www.gamasutra.com/view/news/119401/GDC_Canada_How_Dead_Rising_2_Analyzes_The_Zombie_Menace.php

http://www.gdcvault.com/play/1022355/User-Research-on

Microsoft

Azure

Online Microsoft training delivered by experts to help technologists continually learn

Hundreds of courses for developers, IT Pros, students, entrepreneurs and enthusiasts

11 different languages

Over 3M students registered

Build your own Learning Plan

All free!

Course:Microsoft Azure Backend for Gaming

http://aka.ms/mvagamebackend

http://www.microsoftvirtualacademy.com

Visual Studio

Community Edition

Modern Web

Development

Mobile App

Development

Cloud

Development

Game

Development

Thank You!Slides are in SlideShare. Demos are on GitHub.

Slideshare: www.slideshare.net/ActiveNick

Blog: www.AgeofMobility.com

Twitter: @ActiveNick

Mobile Apps: www.bigbaldapps.com

LinkedIn: www.linkedin.com/in/activenick

GitHub: github.com/ActiveNick

Email: nick.landry@microsoft.com