45
Nick Landry Senior Technical Evangelist – Microsoft [email protected] Blog: AgeofMobility.com @ActiveNick | github.com/ActiveNick Developing Connected Games with a Cloud Backend Gameacon 2015 Atlantic City, NJ

Developing Connected Games with a Cloud Backend

Embed Size (px)

Citation preview

Page 1: Developing Connected Games with a Cloud Backend

Nick LandrySenior Technical Evangelist – Microsoft

[email protected]

Blog: AgeofMobility.com

@ActiveNick | github.com/ActiveNick

Developing Connected Games

with a Cloud Backend

Gameacon 2015

Atlantic City, NJ

Page 2: Developing Connected Games with a Cloud Backend
Page 3: Developing Connected Games with a Cloud Backend

Page 4: Developing Connected Games with a Cloud Backend

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.)

Page 5: Developing Connected Games with a Cloud Backend
Page 6: Developing Connected Games with a Cloud Backend

Y

AX B

Page 7: Developing Connected Games with a Cloud Backend
Page 8: Developing Connected Games with a Cloud Backend
Page 9: Developing Connected Games with a Cloud Backend

• GameSparks

• Photon

• PlayfabY

AX B

Page 10: Developing Connected Games with a Cloud Backend

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

Page 11: Developing Connected Games with a Cloud Backend

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

Page 12: Developing Connected Games with a Cloud Backend

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

Page 13: Developing Connected Games with a Cloud Backend

Titanfall

Game sessions hosted

using Azure

Hosted using >100,000

Azure Virtual Machines

Page 14: Developing Connected Games with a Cloud Backend

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

Page 15: Developing Connected Games with a Cloud Backend

Add value to your Linux investments

Embrace open source DevOps

Bring the tools you use and love

Build hyperscale at hyperspeed

Page 16: Developing Connected Games with a Cloud Backend

Azure

footprint

17 regions worldwide in 2015

Data Centers

Regional Partners

Page 17: Developing Connected Games with a Cloud Backend

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

Page 18: Developing Connected Games with a Cloud Backend

Cloud

Services

Service

Fabric

Page 19: Developing Connected Games with a Cloud Backend

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

Page 20: Developing Connected Games with a Cloud Backend

Microsoft

Azure

Page 21: Developing Connected Games with a Cloud Backend

Halo Series

Matchmaking &

Community on Azure

Uses Service Bus &

DocumentDB

Page 22: Developing Connected Games with a Cloud Backend

• Every game needs a marketing website

Page 23: Developing Connected Games with a Cloud Backend

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…

Page 24: Developing Connected Games with a Cloud Backend

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

Page 25: Developing Connected Games with a Cloud Backend

DemoAzure App Services

Page 26: Developing Connected Games with a Cloud Backend
Page 27: Developing Connected Games with a Cloud Backend

Dead Rising Series

Tracks user interactions

in real time

Detailed bug reports

from testers

Page 28: Developing Connected Games with a Cloud Backend

Destiny

Collects Telemetry from

most user actions

Uses data to balance

game weekly

Page 29: Developing Connected Games with a Cloud Backend
Page 30: Developing Connected Games with a Cloud Backend

http://www.ageofascent.com

Page 31: Developing Connected Games with a Cloud Backend
Page 32: Developing Connected Games with a Cloud Backend
Page 33: Developing Connected Games with a Cloud Backend
Page 34: Developing Connected Games with a Cloud Backend
Page 35: Developing Connected Games with a Cloud Backend

• Apply at aka.ms/bizsparkapply

Page 36: Developing Connected Games with a Cloud Backend

• 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

Page 37: Developing Connected Games with a Cloud Backend

Microsoft

Azure

Page 38: Developing Connected Games with a Cloud Backend

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

Page 39: Developing Connected Games with a Cloud Backend

• 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

Page 40: Developing Connected Games with a Cloud Backend

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

Page 41: Developing Connected Games with a Cloud Backend

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

Page 42: Developing Connected Games with a Cloud Backend

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

Page 43: Developing Connected Games with a Cloud Backend

Visual Studio

Community Edition

Modern Web

Development

Mobile App

Development

Cloud

Development

Game

Development

Page 44: Developing Connected Games with a Cloud Backend

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: [email protected]

Page 45: Developing Connected Games with a Cloud Backend