[igc 2016] 아마존 구승모 - 게임 제작을 위한 amazon의 편리한 도구들...

99
Amazon Lumberyard & GameLift 인디게임 부터 AAA 게임 제작까지 가능한 무료 게임 엔진 구승모

Upload: -

Post on 15-Apr-2017

1.184 views

Category:

Technology


3 download

TRANSCRIPT

Amazon Lumberyard & GameLift

인디게임 부터 AAA 게임 제작까지 가능한 무료 게임 엔진

구승모

INDEX

1

ChapterAmazon Lumberyard

2

ChapterAmazon GameLift

3

ChapterHow to Start

4

ChapterTech Demo

AWS를 적극 활용중인 게임회사들

Chapter [1]

Amazon Lumberyard

Inven Game Conference

7© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Lumberyard 기원

여러 기술의 결합체

• 더블 헬릭스 엔진 (물리 및 네트워킹)

• 아마존 웹 서비스

• 크라이엔진 3.8

• 트위치

• 여기에, 300만 라인 이상의 코드 수정

지금 현재도 계속 진화중

• 사실상 새로운 게임 엔진

• 클라우드 기능을 손쉽게 사용 (Cloud Canvas)

• 각종 게임 커뮤니티 기능 (Twitch)

8© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Lumberyard 스택

CLOUD

COMMUNITY

COMMERCE

GAME

ENGINE

PC

CO

NS

OLE

MO

BIL

E

Runtime

EDITOR

VS

2013

MA

X /

MA

YA

PH

OT

OS

HO

P

Development

• 클라우드 및 커뮤니티 기능

• 게임 엔진에서 바로 활용 가능

• 에디터에서 바로 적용 및 테스트가능

• 편리한 개발 환경

• 실시간 게임 편집 가능한 에디터

• 다양한 툴과의 연계 지원

• VS, 맥스, 마야, 포토샵 등

9© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Lumberyard 특징

비주얼최신의 AAA급 게임 제작 가능함

에디터게임 플레이 반영을 즉시 확인 가능기획자 및 아티스트도 쉽게 사용

엔진 프레임워크C++ 기반 및 Lua스크립팅 가능

협업에디터 도구 및 리소스는 큰 팁에서 함께작업 가능한 구조

콘텐츠 파이프라인아트파이프라인 최적화

클라우드 캔버스AWS 클라우드 리소스를 비주얼스크립팅으로 쉽게 제어

게임리프트멀티 플레이어 게임으로 손쉽게확장 가능

지원하는 플랫폼PC뿐만 아니라 최신 콘솔 지원

모바일iOS 및 Android 게임 쉽게 개발 가능

트위치게임내에서 실시간으로 트위치 방송 및커뮤니티 통합 기능 제공

AWS C++ SDKAWS 클라우드 리소스에 대해 코드레벨에서 컨트롤 가능

VR오큘러스 리프트 및 HTC 바이브지원

고객지원게시판 및 상세한 단계별 튜토리얼 제공

미들웨어모듈 방식의 다양한 서드파티라이브러리 통합 지원

샘플 및 데모직접 테스트 가능한 플랫폼별 데모 제공계속 추가중

10© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

사용하기 쉽지만 강력한 게임 제작 도구

럼버야드 에디터

11© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

기본 제공되는 샘플 게임 편집 예

12© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Editor & Tools

IDE

• 비주얼 에디팅이 기본

• 추가 도구들 (파티클, 애니메이션, …)

프로그래밍 및 컴포넌트

• Gems 모듈

• 엔티티 컴포넌트 기반

콘텐츠 파이프라인

• Maya 및 3DS MAX 전용 플러그인

• FBX Importer

• 파티클 편집 도구

• 2D/UI 도구

• FlowGraph

13© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

엔진 향상 내용

오디오엔진

• Wwise LTX

물리엔진

• 완전 모듈화, 올해중으로 전부 교체 예정

네트워크 엔진

• Gridmate

렌더링 엔진

• DirectX 12, Metal, Vulkan

• 하이엔드 모바일 지원

클라우드 연결

• AWS Native C++ SDK

14© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

UI 구성요소를 쉽게 빌드하고 커스터마이징

• 아티스트 친화적인 도구들

• 다양한 종류의 커스터마이징 가능한 UI 콤포넌트

• 키프레임 애니메이션 및 자동화 지원

• 해상도 독립적 및 모바일 최적화 가능

2D & User Interfaces

• 비주얼 스크립팅 지원

• 레이아웃을 통한 계층화 지원

• 로컬라이제이션 지원

15© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

16© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

지역화 작업 (Localization)

• 각각의 언어로 XML 파일 따로 저장

• 키-값 시스템을 통하여 런타임에 적용

• 왼쪽에서 오른쪽 쓰기 기본 지원• 오른쪽에서 왼쪽 쓰기도 제한적으로 지원

• UI 에디터는 자동으로 사용 언어 찾음

• TTF 및 OTF 폰트 사용

17© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

게임 스크립팅

3가지 방법으로 가능

Native C++• 세부 컨트롤 및 성능이 요구될 때

• 프로파일링을 통해 개선할 때

• 재컴파일 없이 라이브 재로딩 곧 지원 예정

1

Lua 스크립팅• 테크니컬 기획자나 게임플레이 프로그래머가 게임 로직을 작성할 때

• 적당히 성능이 잘 나오고, 사용하기 쉽고, 커스터마이징이 강력

• Lua 5.1, 5.2, and 5.3. Lua JIT on/off 가능

• Lua로 직접 엔티티 콤포넌트 작성 가능

• 에디팅 및 디버깅을 위한 툴 제공

2

Flow Graph 비주얼 스크립팅• 빠르게 프로토타이핑을 하거나 레벨 디자인시에 유용

• 노드 기반의 비주얼 스크립팅

• 클라우드 캔버스를 통한 클라우드상의 자원을 손쉽게 통합

• 비주얼 디버깅 지원

3

18© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

엔티티들을 관리하기 위한 가장 유연한 방법

• 작은 기능 모듈들을 결합하여 복잡한 게임 엔티티 작성이 쉬움

• 슬라이스(Slices) 지원: 일종의 연계된(cascading) Prefab 시스템

• 비주얼하게 콤포넌트와 프로퍼티를 관리

• 콤포넌트는 C++ 및 Lua를 통해 작성가능

• Lua 및 FlowGraph 스크립팅 콤포넌트 제공

• 리플렉션, 자동 직렬화(serialization) 및 메시지 교환 지원

• 중첩된 프리팹 및 콤포넌트 지원

Component/Entity 프레임워크

19© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

콤포넌트 슬라이스

• 일종의 연계 가능한 프리팹 시스템• 레벨에만 국한되지 않고 시스템 엔티티에도 적용 가능

• 오프라인 데이터 분석• 게임 전체의 데이터와 에셋간 의존성을 파악

• 레벨 스트리밍 및 패키징을 통한 배포 가능

• 패치데이터 배포도 쉽게 가능

20© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Gem 모듈 시스템

• 게임 엔진에 붙이는 콤포넌트• 개발자는 Gem을 쉽게 추가하고

삭제할 수 있음

• 개발자는 자신만의 Gem을제작하고 배포 가능

• 물리적으로는 하나의 DLL

• 현재 기본적으로 포함된 Gem 예• 날씨효과, 플로킹 AI, 제스춰, 카메라

효과 등

21© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Asset Processor 및 가상파일시스템 (VFS)

• Asset Processor

• 아트/사운드 등의 리소스를 실시간으로 관리

• 백그라운드 서비스로 동작

• 에셋의 모든 부분을 다 받지 않고서도 스트리밍으로 바로 작업 가능

• 가상 파일 시스템 (Virtual File System)

• 개발 PC의 에셋을 타겟 장치(모바일 등)에 즉시 매핑 가능

• 모든 플랫폼에 실시간 재로딩(hot reloading) 가능

• 빠른 이터래이션이 가능함: 에셋 변경시마다 타겟 장치에 새로배포할 필요가 없음

• Asset Processor의 한 부분으로 따로 복잡한 설정이 필요 없음

22© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

에디터 로드맵

네비게이션 및 AI

길찾기 및 NavMesh 생성 기능

(2016 가을 중)

향상된 프로파일링 시각화

메모리 트래킹 및 시각화 (곧 지원)

시네마틱스

기본 영상 편집은 이미 지원

전문 영화편집자들을 위한 특수기능은

계속 추가중

상태 기계

계층적 FSM

(2016 가을 중)

VR 및 AR

VR 및 AR 전용 기능은 2017년까지 계속

추가 중$

23© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

AAA 콘텐츠 제작을 위한 강화된 비주얼

렌더링

24© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

25© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

26© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

27© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Particle System Editor

폭발, 불꽃, 번쩍임 등의 각종 VFX 생성 및 시뮬레이션

• 에미터(emitters)의 비주얼 편집 기능

• 변화도(gradient) 편집 기능

• 스플라인(spline) 곡선 직접 편집 및 재생

• 콤포넌트 시스템에 통합

• 코드 또는 스크립트로 에미터 직접 제어

• GPU 가속 재생 및 충돌 시뮬레이션

28© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

더 밝은 흰색, 더 짙은 검은색

• HDR 콘텐츠 제작을 위한 물리기반 렌더링(PBR)

• 높은 대비 효과(contrast ratio) 및 폭 넓은 컬러 범위

• 최신 디스플레이를 위한 더 풍부하고 선명한 경험 제공

HDR Display Support

• HDR 지원 디스플레이만 있으면 바로 확인 가능

(Tone-mapper 옵션 활성화를 통해 Dolby 비전 및 HDR10)

29© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

HDR Display Support

30© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

HDR Display Support

HDR TV LDR TV

31© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

GridMate

네트워크 프레임워크

© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

GridMate?

그 전에 게임 루프 부터…

Inputs

Simulate

Render

Wait

States

events

State State State

Time

© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

GridMate의 Replica Framework

네트워크 상에서의 복제를 통한 객체간 동기화

Inputs

Simulate

Render

Wait

States

Inputs

Simulate

Render

Wait

States

Compare Compareexchange

© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

GridMate 좀 더 자세히

원격 복제를 지원하는 크로스플랫폼 네트워크 라이브러리

메시지 전송• 신뢰/비신뢰 모드의 전송 API

1

복제• 네트워크 상에서의 원격지 복제본(replicas) 지원

• 하나의 노드가 복제본을 소유하고 나머지 노드는

프록시(proxy)를 보는 구조

• 복제본은 데이터를 포함하고 RPC 수행 가능

2

세션 관리• 게임 세션(방)을 열고, 검색하고 참여할 수 있는 API

• 콘솔 게임기, 모바일 장치, PC와의 통합 지원

3

특징

• Killer Instinct를 포함한 더블 헬릭스의 다양한

게임에서 사용됨

• 다양한 플랫폼 지원: Windows, Xbox One, PS4,

Android and iOS

• 모듈화된 프레임워크로 타 플랫폼으로의 확장이 용이

• 복제본간 다양한 동기화 기능 제공

• RMI 사용시구버전과의 호환기능 제공

• 네트워크 테스트 및 시뮬레이션을 위한 RTT 변경,

패킷 손실 등의 다양한 기능 제공

35© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

세부 추가 도구들

콘텐츠 파이프라인 지원

36© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Exporter 측면

• Maya, 3DS MAX용 내보내기 툴셋 제공

• 단 2번의 스텝으로 내보내기 가능

• static mesh, skinned geometry, skeletons,

materials, animation

모델링 데이터를 에디터로 가져오기

FBX Importer 측면

• 회사 독립적인 FBX 포맷 직접 지원

• 소스 에셋에 대한 외부 수정시 에디터 내에

직접 반영됨

37© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Mannequin – 인터랙티브 애니메이션 툴

• 시퀀스 편집 및 상태 제어

• 타 시스템과 동기화 가능 (FX, 사운드 등)

캐릭터 및 애니메이션 툴

Geppetto – 캐릭터 툴

• 애니메이션, 파츠 등의 캐릭터 결합 작업

• 물리 시뮬레이션, 블렌딩 및 애니메이션 계층화 작업

• 여러 메시나 파츠와 결합 후에 물리 시뮬레이션 가능

38© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

카메라 컷, 카메라 이동, 캐릭터 애니메이션 및 이동, 사운드 이펙트 제어 등 각종 편집 기능 제공

Trackview - 인게임 무비 등의 컷 씬 편집기

39© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

콘솔, 모바일, VR/AR

다양한 플랫폼 지원

40© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

지원하는 플랫폼

PC

• Windows 7 및 그 이상

PlayStation 4, Xbox One

• Sony 및 MS에 등록 조건 필요

Android, iOS

• OpenGL ES 3.x 지원하는 기기

Virtual Reality

• Oculus VR 및 Vive

41© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

PlayStation 4 SDK version 3.150

콘솔 플랫폼

Xbox One XDK version 11_2015

•전용 게임패드 지원

•클라우드 캔버스와 연계 지원

•업적, 랭킹보드, 클라우드 저장소 등

• GridMate 지원

•가상 파일 시스템 지원

42© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

고품질의 모바일 렌더링

• 실시간 라이팅 및 그림자 계산

• 빛 반사

• 디퍼드 데칼 지원

• Bilinear upscaling

• Z Pre-pass

• 포탈 및 오클루전

• Procedural vegetation

모바일 플랫폼

클라우드 캔버스

사용자 인증, 일일 선물, 랭킹보드, 인벤토리, 퀘스트 진행 상태

등 자주 쓰는 기능들은 AWS를 통해서 손쉽게 구현할 수 있음

43© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

IOS 디버깅

44© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Android 디버깅

45© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

모바일 렌더링 성능

실시간 빛/그림자 계산시

Android - Nexus 6 iOS - iPad Air 216 FPS 25/30 FPS

46© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

VR 및 AR

하드웨어

최신 VR 하드웨어 및 SDK

Oculus Rift 및 HTC Vive

1

에디터

공통적인 VR 태스크는 FlowGraph 노드로 제공

지속적으로 VR관련 기능들 에디터에 추가 중

2

렌더링 엔진

VR 콘텐츠에 최적화된 렌더링 지원3

콘텐츠

아마존에서 큰 계획을 가지고 VR 및 3D 콘텐츠 제작 중4

47© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

48© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

함께 즐기기

트위치

49© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Twitch: 게임 플레이 스트리밍

• ChatPlay

• 게임내외의 유저간 소통

• MetaStream

• 인게임 Stat을 방송화면에 게시

• Spotlight / MatchBuilder

• 트위치 뷰어를 게임으로 직접 초대

• Stream+

• 시청자에게 포인트를 지급하고 투표

• 베팅 등을 통해 포인트 획득

• 포인트를 시청 우선권 등으로 사용

50© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

• 월간 실사용자 수억명

• 게임내 방송 기능 및 외부 사용자와의 그룹

채팅 기능을 따로 만들 필요가 없음

• FlowGraph 비주얼 스크립팅을 통해 쉽게

트위치를 통합 가능

• 트위치 API를 통해 채널 제어• join/leave, 접속자 정보 파악 등

• 게임 이벤트 트리거 가능

월간 100만의 브로드캐스터

51© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

AWS 클라우드 자원을 엔진에서 직접 제어

클라우드 캔버스

52© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

클라우드에 연결된 게임 제작

53© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

클라우드에 연결된 게임 기능 예

랭킹보드 및 업적

게임상태 저장

캐릭터 장비 및 인벤토리 저장

일일 퀘스트

DLC 신규 콘텐츠

뉴스티커

유저가 생성한 콘텐츠 (UGC) 공유

서버 인증이 필요한 거래들

54© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Cloud Canvas: 클라우드 저장소

55© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Amazon Simple Storage Service (S3)

• 클라우드 상의 오브젝트(파일) 스토리지

• 하드디스크 처럼 폴더를 만들고 파일을 업로드 하듯이사용

• 최상위 루트는 버킷(bucket) 단위

• 패치 파일 등의 정적 콘텐츠 전달에 용이

56© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Cloud Canvas: 플레이어 데이터 저장

57© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

• 고성능 고가용성의 NoSQL DB

• Key-value 저장소

• 테이블 단위

• 게임의 각종 상태 데이터 저장에 용이

Amazon DynamoDB

58© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Cloud Canvas: 로직 실행

59© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

AWS Lambda

• 서버 없이 클라우드상에서 코드를 실행!

• 실행하고자 하는 코드를 업로드

• Python, Node.JS, Java 지원

• 실행 단위는 함수(function)

• 게임 시스템에 필요한 각종 로직 실행에 용이

60© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Cloud Canvas: 사용자 인증

61© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

• 플레이어 인증

• 모바일 장치 ID를 통한 익명 사용자 가능

• 구글, 아마존, 페이스북 ID와 연계를 통한 인증 가능

• 사용자 정보에 대한 플랫폼 자체 구축 가능

• 장치간 개인정보 동기화 제공

Amazon Cognito

62© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Cloud Canvas와 Lumberyard

클라우드 캔버스는 럼버야드와 클라우드간 이질감 없이 연결

• 클라우드 리소스를 관리

• FlowGraph 또는 C++ 코드에서 클라우드 자원 직접 제어

• 클라이언트측 개발자가 백엔드 기능을 쉽게 사용

Chapter [2]

Amazon GameLift

Inven Game Conference

© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Amazon GameLift는 멀티 플레이어 게임의서버 확장/축소를 손쉽게 가능하게 합니다.

© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

일반적인 주간 서버 사용량 그래프

서버

사용

시간

© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

서버 확충 실패

서버

사용

시간

확보된 서버가 커버하는 부분

게임 못하는 플레이어들(대기열 발생만큼의 수익 감소)

© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

너무 많은 서버 선투자 비용

서버

사용

시간

미리 확보한 서버가 커버

낭비되는 비용

© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

GameLift의 탄력적 스케일링

서버

사용

시간

Wasted $

Auto-scaling을 통한비용 최적화가 가능

© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Amazon GameLift

• 세션형 멀티플레이어 게임 호스팅을 위한관리형 플랫폼

• 플레이어의 상황에 따라 자동으로스케일링(Scale In/Out)

• 전세계적으로 저 지연의(low-latency) 사용자경험 제공

• 중단(downtime)없는 게임 서버 업데이트지원

• 선 투자 비용 없이 사용한 만큼만 지불

3가지 형태의 멀티 플레이어 게임

SessionPersistentAsynchronous

© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

인기 있는 멀티플레이어 게임의 상당수는 세션형

Gametrics 지표 예

MMOG

Session-based

© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

설계 및 아키텍팅

프로토타입 제작을 통한 검증

라이브 서비스를 위한 안정화

환경 설정 및 통계 분석용 UI 구성

서비스 Launch

24/7 운영 책임 (coverage)

$

아래 기능 구현 및 작업에는 많은 시간이 소요됨

스케일링 기능에 대한 각종 디버깅 운영 비용 최적화$

© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

수분 내에 바로 시작 가능

서버 App

업로드

Fleet설정

Scale 정책적용

Play

1 2 3 4

© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Build

개발자가 작성한

서버 바이너리

GameLift로

Upload

빌드

© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Fleet

빌드가 배포된

상태

플레이어가

접속하는 대상

플릿

다수의 EC2

인스턴스

© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Fleet Overview

Game Server

Processes

EC2 Instance EC2 Instance

Build

개발자 PlayersFleet

Game Server

Processes

© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

게임 세션 1

Player slot 1

Player slot 2

Player slot 3

Player slot 4

Active

Active

게임 세션 2

Player slot 1

Player slot 2

Player slot 3

Player slot 4

Active

Active

Active

Active

게임 세션 N

Player slot 1

Player slot 2

Player slot 3

Player slot 4

Reserved

서버 프로세스 서버 프로세스 서버 프로세스

EC2 Instance EC2 Instance EC2 Instance

Build

개발자 Players

게임 세션 관리

게임 서버 프로세스 관리

© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

GameLift 사용법

AWS CLI

빌드 업로드

플릿 설정및 생성

게임클라이언트

접속

적합한게임 세션

검색

1 2 3 4

다양한 종류의 게임 세션 검색(매칭) 기능 제공(빈 방여부, 오래된 순서 정렬, 플레이어 상태 등)

© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

GameLift API 상호작용

게임 서버

(배포된 빌드)

GameLift

서비스

게임 클라이언트

APPAWS SDK

GameLift Client API(HTTPs req/res)

© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

GameLift 운영

Web기반의 UI를 통한 운영• API로도 제어 가능

• 각종 성능 지표 모니터링

• 스케일링 상황 모니터링

• 게임 서버에서 발생하는 이벤트 확인

• 게임 세션 및 플레이어 세션 정보 확인

• ALIAS 기능을 통한 무중단 배포 가능

© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

스케일링 상태 시각화

© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

GameLift는 곧 9개 리전으로 확대 적용

지역간 Latency 최소화!

© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

게임 서버/클라 샘플 코드

GameLift FleetDummyClients(다수의 더미 플레이어 세션)

Player sessions

Viewer(Cocos2d-x client)

- DummyClients게임 세션을 만들고 다수의 플레이어를 투입더미 플레이어들은 주위를 정처 없이(?) 랜덤 로밍

- ViewerCocos2d-x로 만들어진 간단한 게임 클라이언트실제로 이 상황을 확인할 수 있는 프로그램으로 시각화용

https://github.com/zeliard/GameLift

Chapter [3]

How to Start

Inven Game Conference

시작하기 전에…. 자주 묻는 질문에 대한 답

• 크라이 엔진과의 관계는 어떻게 되나요?• 크라이텍으로 부터 과거 3.8버전 스냅샷을 구매• 3.8버전을 기반으로 60% 이상 변경, 엔진 향상 및 툴 기능 추가• 크라이텍 및 크라이엔진과는 더 이상 어떤 관계도 없음

• 소스 코드 공개는 되어 있나요?• 당근! 엔진 코드를 마음대로 뜯어 고쳐서 게임을 만들어도 됨

• 정말 무료인가요? 어떤 조건이 있나요?• 무료! 단, 타사의 퍼블릭 클라우드를 사용하지 않는 조건하에서만• 아래와 같은 경우는 모두 무료로 규모에 관계없이 상용화까지 가능

• 싱글 패키지 게임 제작시 무료, 온라인 게임의 경우도 서버를 자사의 데이터센터에 두거나 AWS상에 두는 경우 무료

• 단, Zombie Apocalypse 상황에서는 이 룰을 지키지 않으셔도 됨

86© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

럼버야드 게임엔진

지금 바로풀 소스 코드 및 엔진다운로드 가능

각종 샘플 에셋데모 게임다운로드 가능

Lumberyard Launcher

• https://aws.amazon.com/ko/lumberyard/downloads/• 구매비용 없음, 로열티 없음, 특별한 소스코드 조건 없음• 게임엔진, 에디터, 각종 도구들 모두 포함• 현재 최신 버전은 1.5

87© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

개발 지원

포럼 - gamedev.amazon.com/forums/

• 럼버야드 관련 Q/A 및 토론

• AWS 가입 필요 없음

튜토리얼

• 럼버야드 뿐만 아니라 관련 AWS 클라우드 활용 튜토리얼 제공

88© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

한글 튜토리얼 제공

https://gamedev.amazon.com/forums/tutorials

89© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

GameLift 무료 제공

무료로 테스트 해 볼 수 있는 AWS 클라우드 제공• c3.large 인스턴스 타입으로 월 125시간 무료

• https://console.aws.amazon.com/gamelift/

• 빠르게 테스트해볼 수 있는 샘플 게임 제공

• Amazon GameLift의 Sample Game 항목

• 물리 기반의 8인용 축구 게임

90© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Chapter [4]

Tech Demo

Inven Game Conference

92© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Lumberyard – Sample Project

93© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Cloud Canvas – Don’t Die

94© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Twitch - Demo

95© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Leo – Mobile Demo

96© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Breakaway (4:4 Battle Arena)

https://youtu.be/EcAf4kXaMYA

97© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

New World: Sandbox MMORPG

https://www.youtube.com/watch?v=CvPZOg6Zu-E

98© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Crucible (6:6 TPS)

https://www.youtube.com/watch?v=riOjIThEZBw

99© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

감사합니다