Photon Realtime. Multiplayer. Cross Platform. Tom Sperry, Exit Games.

25
Photon Realtime. Multiplayer. Cross Platform. Tom Sperry, Exit Games

Transcript of Photon Realtime. Multiplayer. Cross Platform. Tom Sperry, Exit Games.

Page 1: Photon Realtime. Multiplayer. Cross Platform. Tom Sperry, Exit Games.

PhotonRealtime. Multiplayer. Cross Platform.

Tom Sperry, Exit Games

Page 2: Photon Realtime. Multiplayer. Cross Platform. Tom Sperry, Exit Games.

About Photon Inc.• Photon Server launched end of 2009• Photon Cloud launched 2011• Realtime, Cross Platform• Over 30,000 registered developers– Current signup rate 1,500 developers/month

• SDKs available for all major platforms

2

Page 3: Photon Realtime. Multiplayer. Cross Platform. Tom Sperry, Exit Games.
Page 4: Photon Realtime. Multiplayer. Cross Platform. Tom Sperry, Exit Games.
Page 5: Photon Realtime. Multiplayer. Cross Platform. Tom Sperry, Exit Games.

Photon compared to „Social SDKs“

• Leaderboards• Challenges• Achievements• Social Network Integr.• News, Push• Gamestatesync• Payment• Downloadable Content• Virtualgoods/-currency

• (Usually) Cross platform

• Matchmaking• Realtime Gameplay

• „Unlimited“ scale• Low Latency / local Presence• Properties• Interest Groups• Remote Authentication• Counters

• Cross Platform!!!

Page 6: Photon Realtime. Multiplayer. Cross Platform. Tom Sperry, Exit Games.

Customers• Well known Enterprise customers

– Existing AAA Clients: Microsoft, Coca-Cola, u4ia, Codemasters, WB Games, 20th Century Fox, KranX, Nival, ACRONYM, Roadhouse, InnoGames, RTL, Glu mobile, 2k etc.

– AAA Clients evaluating: Tencent, Atari, Bigpoint, Sproing, Gameforge, MindCandy, Namco, Disney, MTV, gamania, Boeing, Kabam etc.

• And about 30,000 Indies (Independant Developers)

6

Page 7: Photon Realtime. Multiplayer. Cross Platform. Tom Sperry, Exit Games.

Technologies in Use

• High performance C++ Core– TCP support– Reliable UDP based on eNET– Websockets RFC 6455 support– Mature, IOCP

• Business logic: .NET/C#• Windows Server 2008R2

• Cross platform– C/C++

• iOS, Android NDK, Win32, Marmalade, OSX

• ObjC– iOS, OSX

– C#• Unity, .NET, Win8, WP7, Mono,

XAMARIN– AS3

• Flash– Java

• Android

– Javascript• HTML5

Server Client (Cross platform)

7

Page 8: Photon Realtime. Multiplayer. Cross Platform. Tom Sperry, Exit Games.

Competitive Differentiation:Fast Elegant, Cross-Plattform Solution

• SDKs available for all major platforms – Flash, Unity3d, iOS, Android, Marmalade, Java, Windows Phone, Windows, OSX

Cross platform support

• UDP protocol for speed and performance, native C/C++ core• Quick delivery of data packets due to lean and efficient protocols• Can handle tens of thousands of simultaneous connections

Near Realtime Delivery of Packets

• Small footprint, communication layer with no unnecessary overhead• Lowest round-trip times in mobile networks• Ideal for mobile platforms including iOS, Android, WinPhone, others

Full Mobile support

8

Page 9: Photon Realtime. Multiplayer. Cross Platform. Tom Sperry, Exit Games.

CASE STUDY

GLU MOBILE

9

Page 10: Photon Realtime. Multiplayer. Cross Platform. Tom Sperry, Exit Games.

Problem

• All new titles will be real time multiplayer– Requires low latency

• All titles will launch globally

Page 11: Photon Realtime. Multiplayer. Cross Platform. Tom Sperry, Exit Games.

Architecture

Page 12: Photon Realtime. Multiplayer. Cross Platform. Tom Sperry, Exit Games.

Private Cloud Architecture

• Each region has– 1: Lobby Server– 2: Game Servers that connect to #1

• Each Lobby Server / Region has an URL– glu-us.exitgamescloud.com– glu-eu.exitgamescloud.com– ...

• Regions are not connected with each other• Clients need to make a decision which

region/lobby to connect

Page 13: Photon Realtime. Multiplayer. Cross Platform. Tom Sperry, Exit Games.

Photon Cloud

EuropeUSA

Asia

• Global low latency (least Ping routing)• Hybrid + elastic (Dedicated Servers)• Supports versioning & virtual private clouds

13

Page 15: Photon Realtime. Multiplayer. Cross Platform. Tom Sperry, Exit Games.

U4ia (= euphoria)

• Industry Veterans (Dusty Welch, Chris Archer & team)• Free-to-play, AAA, Hardcore, Browser Based Games• „The middleware that gave us the least headache ...“,

Dan MacDonald, Lead Programmer 15

Page 16: Photon Realtime. Multiplayer. Cross Platform. Tom Sperry, Exit Games.

16

Page 17: Photon Realtime. Multiplayer. Cross Platform. Tom Sperry, Exit Games.

17

Page 18: Photon Realtime. Multiplayer. Cross Platform. Tom Sperry, Exit Games.

18

Page 19: Photon Realtime. Multiplayer. Cross Platform. Tom Sperry, Exit Games.

19

Page 20: Photon Realtime. Multiplayer. Cross Platform. Tom Sperry, Exit Games.

20

Page 21: Photon Realtime. Multiplayer. Cross Platform. Tom Sperry, Exit Games.

21

Page 22: Photon Realtime. Multiplayer. Cross Platform. Tom Sperry, Exit Games.

22

Page 23: Photon Realtime. Multiplayer. Cross Platform. Tom Sperry, Exit Games.

23

Page 24: Photon Realtime. Multiplayer. Cross Platform. Tom Sperry, Exit Games.

24