Microsoft Game Stack
全部見せ。マイクロソフトの
ゲーム開発テクノロジー最新Update
増渕大輔
Hello, 僕は キム
AAA タイトル の
敏腕プロデューサーさ
$150M blockbuster
なゲーム企画を作るぞ
And hi, 私は ミズナ
AAA タイトル で
Azureを勉強し始めた
エンジニア。
世界中の人が体験を一
緒にできるゲームを作
りたいです
Azure
PlayFab
App Center
Visual Studio
Team Services
Mixed Reality
Windows
Mixer
Xbox Live
Theater sessions
Live interviews
Pinball Lizard
Azure.com/gaming
ゲームサーバーやAPIサーバーは
性能とコストと実績が重要
いまさら新しいことしたくないな
ゲーム開発のためのクラウドには、
今までのホスティングと違った
機能や開発体験が必要
Microsoft Game Stack
弊社
どんなイメージでしょう?
Microsoft Game Stack
Microsoft Game Stack
Microsoft Game Stack
ゲームの開発提供
ゲーム機の開発提供
ゲーム開発企業との協業
Xbox の実績 multiple 500,000 CCU games
450 000
Unique players each day
of new data each day
Database requests per second
Walkers killed each day
Microsoft Game Stack
モバイルの時代?
Microsoft Game Stack
マイクロソフトの野望
Microsoft Game Stack
AAAゲームを支える技術
Microsoft Game Stack
Direct X 12
Microsoft Game Stack
Azure PlayFab
Visual Studio
App Center
いろいろあります
ゲーム開発に役立つ技術
Variable Rate Shading
Variable Rate Shading: a scalpel in a world
of sledgehammers
https://devblogs.microsoft.com/directx/va
riable-rate-shading-a-scalpel-in-a-world-
of-sledgehammers/
Variable Rate Shading はシェーダがピクセ
ルを塗る際に,1ピクセル単位ではなく複数
ピクセルをまとめて塗ることでシェーダの
呼び出しを抑制します.
Microsoft Game Stack
Project Acoustics
Microsoft Game Stack
Windows ML に DirectMLが追加
Windows MLアーキテクチャ。DX12に
DirectMLというAPIが追加され、GPUやAI
専用チップのハードウェアアクセラレータ
が利用できる
ゲームの業界シナリオ
DirectMLはDirect3D12対応GPU上で動作するMachine Learning(機械学習)のライブラリでGPU
のレンダリングエンジンと統合された形になるため,応用分野として超解像、ノイズ除去、スタ
イル転送、ゲームテスト、そしてアニメーションとアートなどの処理に使えることが期待でき
る
Project xCloud
Driving
Menu Map
ストリーミングの研究で気をつけている点
配慮しなければいけないもの
• Mobile friendly なゲームデザイン
Sea of Thieves uses deliberate, modal action systems
(press “Y” to change mode), not too twitchy
• いつでもどこでも遊べる
Games that can be played in public, or in transit have
more opportunities for success
• スナッカブルなサイドクエスト
For example, barn finds in Forza, ideal for the phone
and snacking on the go
• Console の体験(ネイティブとの違い)
Differentiation for streaming vs native gaming
タッチでも遊べる
• 一般的なジャンル
2D Platformers, Run & Gun, Fighting
• シンプルな UI
Less actions are better, Sea of Thieves is a great
example for this
• アシスト・設定
Fun on mobile often means dialing down the difficulty,
Forza H4 assist settings are great for touch
enablement
• テキスト, UI Size
Small text is a problem on small screens
Xbox Live Developer Platform: iOS and Android で利用が可能になりま
した
IDサービスを提供し、ユーザーのフレンドをプラットフォーム間で共有
Frictionless
integration across
platforms, a-la-
carte offering, no
pre-cert, minimal
data & online safety
requirements
Trusted gaming
identity, mobile
SSO and support
for privacy, online
safety, and child
accounts with
family controls
Best in class
global gaming
services, no cost,
managed, cross-
platform, highly
scalable and
reliable
Comprehensive
consumer
experiences on
PC, mobile, web,
console help you
engage players
inside and outside
the game
Vibrant, safe, and
trusted gaming
community with
powerful
community
management tools
and analytics
21 3 4 5
Classified as Microsoft Highly Confidential
Classified as Microsoft Highly Confidential
Bringing players together to be part of the most inclusive, fun, and engaged gaming
community on the planet.
Every month on XBL across Console, Mobile, and PC:
Scale 64 Million+ Active Monthly Users
Reliable 99.9%+ XBL service availability
Engaged 4.28 Billion game hours played
Driven 1.8 Million Achievement Points Unlocked
Connected 22 Million Looking For Group joins
Social 736 Million XBL Party Chat joins
Reach 8.9K engagement actions on average per club post
Xbox Live
Xbox Live と PlayFab の組み合わせに力を入れてます
PlayFab
• Platform agnostic white-label back
end services – no consumer facing UI
• Federated identity: device, custom,
FB, Google, Steam, PSN, Xbox, …
• Excels in real-time analytics and
LiveOps
Xbox Live
• Consumer facing brand and developer
services – in-game and out-of-game UI
• Trusted gaming identity focused on
community of gamers and online safety
features
• Excels in community & providing gamer
discovery and engagement in titles
Use Xbox Live & PlayFab together for greater impact
PlayFabの機能
• ゲームサーバー
• グッズ管理
• 課金管理
• アカウント管理
• トーナメント
• マルチプレイ
• マルチストア
• In-Game Chat
• などなど
MULTIPLAYER
Build social experiences
with cross-platform play
PLAYERS
Stronger, secure
relationships
COMMERCE
Sell more virtual goods,
more easily
ANALYTICS
Measure and react
in real-time
CONTENT
Engage players with
frequent updates
COMMUNITY
Strengthen player to
player relationships
AUTOMATION
Customize experiences
with cloud-hosted logic
• Leaderboards
• Tournaments
• Prize tables
• Matchmaking
• Server orchestration
• Guilds / Clans
• Gifting / trading
• Authentication
• Player profile
• Support
• Banning
• Real-time segmentation
• Roles and permissions
• Facebook Instant Games
• Virtual currencies
• Item catalog
• Stores
• Promotions
• Inventory
• Receipt validation
• Drop tables
• Subscriptions
• Remote configuration
• Storage
• News
• User generated content
• Localization support
• Player messaging
• Real-time voice chat
• Voice transcription
• Serverless scripting
• Actions
• Rules
• Scheduled tasks
• Webhooks
• Admin APIs
• PubSub
• Dashboards / Reports
• A/B Testing
• Event search
• Data warehousing
• Import 3rd party data
• Crash reporting
PlayFabと相性の良い Microsoft Game Stack のサービス






MULTIPLAYER
Build social experiences
with cross-platform play
PLAYER MGMT
Stronger, secure
relationships
COMMERCE
Sell more virtual goods,
more easily
ANALYTICS
Measure and react
in real-time
CONTENT
Engage players with
frequent updates
COMMUNICATION
Foster healthy player
communities
AUTOMATION
Customize experiences
with cloud-hosted logic
XBOX LIVE
Trusted gamer identity
and community
AZURE
More than 100 cloud
services in 54 regions
VISUAL STUDIO
Integrated development
environment.
APP CENTER
Continuously build, test,
and monitor apps
POWER BI
Visual exploration of data
and report generation
アクセシビリティに関する研究活動
Impressively Diverse and Customizable
Havok
PhysicsTM
Engine Integrations
Havok Physics provides world–class physics solutions for real–time applications. More than
half of the best–selling titles this console–cycle use core Havok runtime, and our goal is to
make Havok Physics available to even more developers and platforms. To further this effort,
we have partnered with both Epic Games and Unity to integrate our physics system into
their engines.
Interactive Worlds Demand Havok Physics
Havok’s award–winning rigid body physics engine is the most optimized, stable, and widely
used piece of middleware in the games industry today. Havok Physics has been a core part
of production pipelines for almost two decades, and our game development partners
continue to push and refine the technology.
Trusted.
Robust.
Flexible.
Optimized
.
Scalable.
Havok AITM
Reactive Navigation Demands Havok AI
Havok AI provides real time adaptive–navigation for
characters in highly dynamic environments. Its navigation
mesh generation and optimized runtime performance help
developers create NPCs who can understand and intelligently
react to the world around them.
Robust.
Flexible.
Reactive.
Scalable.
Havok ClothTM
Style & Realism Demands Havok Cloth
Havok Cloth is a performance–optimized development tool
for creating believable simulation of cloth, hair, foliage, and
other soft body objects. It’s easily customizable and fits into
today’s workflow to maximize the productivity of artists,
animators, and programmers. Havok Cloth also features out–
of–the–box integration with Havok Physics. As with all Havok
Products, Havok Cloth is built to deliver optimal performance
on the latest hardware with full support for leading game
platforms.
Believable.
Customizabl
e.
Performant.
Controllable.
Mixer
Mixer brings streamers and viewers closer
together by blurring the line between watching
and playing
Mixer は何が新しいの? Faster Than Light (FTL) Streaming
Streaming protocol that delivers
content with sub-second latency
Interactivity
Viewer interaction that goes way
beyond the chat window
4-Person Co-Streaming
Watch streams side-by-side with a
combined chat experience
Platform-Inclusive Community
Building strong community across
PC, console and mobile
Easy Broadcasting
With just a few clicks on Windows
10 PC, Xbox One, iOS, and Android
HypeZone
AI-powered channel featuring best
live moments of PUBG & Fortnite
A next-generation streaming service that blurs the lines between watching and playing
視聴と再生の境界を曖昧にする次世代ストリーミングサービス
Mixer は何が新しいの? Faster Than Light (FTL) Streaming
Streaming protocol that delivers
content with sub-second latency
Interactivity
Viewer interaction that goes way
beyond the chat window
4-Person Co-Streaming
Watch streams side-by-side with a
combined chat experience
Platform-Inclusive Community
Building strong community across
PC, console and mobile
Easy Broadcasting
With just a few clicks on Windows
10 PC, Xbox One, iOS, and Android
HypeZone
AI-powered channel featuring best
live moments of PUBG & Fortnite
A next-generation streaming service that blurs the lines between watching and playing
視聴と再生の境界を曖昧にする次世代ストリーミングサービス
Mixer は何が新しいの? Faster Than Light (FTL) Streaming
Streaming protocol that delivers
content with sub-second latency
Interactivity
Viewer interaction that goes way
beyond the chat window
4-Person Co-Streaming
Watch streams side-by-side with a
combined chat experience
Platform-Inclusive Community
Building strong community across
PC, console and mobile
Easy Broadcasting
With just a few clicks on Windows
10 PC, Xbox One, iOS, and Android
HypeZone
AI-powered channel featuring best
live moments of PUBG & Fortnite
A next-generation streaming service that blurs the lines between watching and playing
視聴と再生の境界を曖昧にする次世代ストリーミングサービス
Mixer は何が新しいの? Faster Than Light (FTL) Streaming
Streaming protocol that delivers
content with sub-second latency
Interactivity
Viewer interaction that goes way
beyond the chat window
4-Person Co-Streaming
Watch streams side-by-side with a
combined chat experience
Platform-Inclusive Community
Building strong community across
PC, console and mobile
Easy Broadcasting
With just a few clicks on Windows
10 PC, Xbox One, iOS, and Android
HypeZone
AI-powered channel featuring best
live moments of PUBG & Fortnite
A next-generation streaming service that blurs the lines between watching and playing
視聴と再生の境界を曖昧にする次世代ストリーミングサービス
マルチプラットフォーム展開の強い味方!
Symplygonで3Dアセットを軽くしよう。
VRでエベレスト登山を仮想体験する「EVEREST VR」(Sólfar)
20億個のポリゴンを2500万個まで減らして5段階のLODデーターを作成
マルチプラットフォーム展開の強い味方!
Symplygonで3Dアセットを軽くしよう。
*参考記事
【CEDEC 2015】3Dアセットの自動最適化を図るミドルウェア、
Simplygonの実力を間近でチェック
【CEDEC 2015】アセット最適化ミドルウェアを中核とした最新パ
イプラインとは? Simplygon × Telltale Gamesの事例に学ぶ
• ハイポリのCGモデルを最適化
• ボーンやマテリアル、アニメーション情報などを処理
• PCコンテンツをスマフォ化、VR化する際に便利です
• 国内でも「ベヨネッタ2」などが採用されてます
紅白を夢見る(元)AI女子高生、りんな
歌い始めた時の動画(2016年TGS展示)と
聴き比べてみてください
Microsoft Game Stack
Azure PlayFab
Visual Studio
App Center
まだまだあります。
ゲーム開発者のためのテクノロジー
Microsoft Azure
The Visual Studio
family
Best-in-class tools for any developer
Visual Studio
App Center
Visual Studio
Code
Visual Studio
Visual Studio
for Mac
Azure
DevOps
• AI-assisted IntelliSense with IntelliCode
• Real-time collaboration with Live Share
Visual Studio 2019
生産性の高い開発ツールの提供
リファクタリングの強化
コード分析の強化
アプリケーションの構造解析
よりわかりやすくなった
タスク (Light Bulb)
コードに関する情報の表示
(コード レンズ)
Get to Code Fast!
•規約に基づくソース・コードとデータベースの関連付け
•開発中のデータ構造の変更にも柔軟に対応
•ゲーム開発中は仕様変更が頻繁に行われる!
•コードでテーブル構造等を定義する
•テーブルは基本的に自動で作成
•データ構造の変更にも対応
最新 Visual Studio は C++ 開発でもパフォーマンスも最高
2017 15.7
2017
2015
C++ Solution Open (4000+ projects)
17:30m
1:08m
48s
21.9x
2017 15.7
2017
2015
Memory usage (C++ Solution, 4000+ projects)
2.23 GB
540 MB
540 MB
4.1X
2017 15.7
2017
2015
Debug session memory usage (C++ Solution, 4000+ projects)
3.32 GB
1.3 GB
774 MB
4.2X
2017 15.7
2017
2015
Find All References & Rename refactor
(Unreal Engine codebase)
7:38m
3:40m
2:45m
2.8X
2015 288.79s
2017 15.7 68.83s*
Incremental Build
(Unreal Engine-based AAA game)
4.1X
* Includes additional optimizations:
With /OPT:NOICF
Remove /MAP
開発ツール Visual Studio 2019 Launch !
47
Visual Studio 2019 一般提供開始
• メモリ使用量削減
• UI /UX 強化
• リファクタ、デバッグ強化
• Visual Studio Live Share 一般提供開始
Visual Studio for Mac 2019 一般提供開始
デバッグ
従来のデバッガ リモートデバッグ(スナップ
ショット)
https://docs.microsoft.com/ja-
jp/visualstudio/debugger/debugger-feature-tour?view=vs-2019
IntelliTrace 表示
(Visual Studio Enterprise)
ブレークポイントとデバッガー
ステップ イベントごとにアプリ
のスナップショットを作成する
Time Travel Debugging
• Visual Studio Enterprise Edition が必要
• Azure VM 上の Web アプリケーションの動作を記録、Visual Studio 上
で再現
Visual Studio Live Share
1人の開発者が「ホスト」となり「コラボ
レーションセッション」を開始して、他の
開発者は「ゲスト」としてそのコラボレー
ションセッションに参加することで、コー
ドやデバッグなど、プログラム開発に関わ
るさまざまな要素を共有できるようになる。
リアルタイム
共有
モブプログラミングをしよう
Visual Studio Live Share
コード編集やデバッグセッションのリアルタイム共有
• liveshare.vsengsaas.visualstudio.com 上で共有
• Visual Studio 2017 Update 15.6 以降 / Visual Studio Code をサポート
• 対応言語・プラットフォーム
https://docs.microsoft.com/en-us/visualstudio/liveshare/reference/platform-support
Visual Studio Subscription
+ GitHub Enterprise
2019 年 5 月 1日 より
https://aka.ms/VisualStudiowithGitHub
• GitHub Enterprise バンドル SKU が 2019 年 5 月 1 日から提供開始
• Visual Studio Subscription (Pro / Enterprise) が対象
• 既存の Visual Studio Subscription (Pro / Enterprise) はステップアップ SKU が提供
Visual Studio IntelliCode
GitHub のコードを機械学習した AI によるコーディング支援
• IntelliSense: 入力すべきコードをリコメンド
• 自身のコードもトレーニングできるように
• C# / XAML / C++ サポート
• Visual Studio 2017 Update 15.7 以降に 拡張機能をインストール
Preview
Microsoft Game Stack
Microsoft Game Stack
Mixed Reality
Microsoft Game Stack
Hololens 2
Engage your players via games that are
Social
Multi-user and cross-platform
Discovery
The world is your canvas
Introducing Azure Spatial Anchors
• Creating:
• Create a local point in space, using a “hit test” or other technique
• Create local anchors in the device AR library
• Create the cloud anchor from the local anchor
• Finding:
• Locate by Anchor ID
• Connecting Anchors:
• Find an existing anchor, create a new one in the same session
• Other
• Update anchor properties
• Delete Anchor
Azure Spatial Anchors: Programming Concepts
早い段階でのゲーム
メカニクスデザインは有効
+
現在のゲームは
ネット活用方法が多様化
+
クラウドと統合して
プロジェクトのリスクを低減
Azure や PlayFab で早期オンライン化しよう
クラウドベースの開発環境
Visual
Studio
Visual
Studio
for Mac
Visual
Studio
Code
CLIs, Cloud
Shell, Eclipse,
IntelliJ, …
.NET (C#, F#, VB)
Node, JavaScript, HTML5&CSS
Java
Tier 2 (Go, Python, PHP)
Azure
Client
Apps
開発中からオンラインを意識して
おかないと、オンラインを活かし
た企画ができないぞ
あとから環境を変えるのはリスクが高い
チームのみんなが、初めからオンライン
になれておく必要がありますね
Microsoft Azure の全体像
Platform Services
Infrastructure Services
Web
Apps
Mobile
Apps
API
Apps
Notification
Hubs
Hybrid
Cloud
Backup
StorSimple
Azure Site
Recovery
Import/Export
SQL
Database DocumentDB
Redis
Cache
Azure
Search
Storage
Tables
SQL Data
Warehouse
Azure AD
Health Monitoring
AD Privileged
Identity
Management
Operational
Analytics
Cloud
Services
Batch
RemoteApp
Service
Fabric
Visual Studio
Application
Insights
VS Team Services
Domain Services
HDInsight Machine
Learning Stream Analytics
Data
Factory
Event
Hubs
Data Lake
Analytics Service
IoT Hub
Data
Catalog
Security &
Management
Azure Active
Directory
Multi-Factor
Authentication
Automation
Portal
Key Vault
Store/
Marketplace
VM Image Gallery
& VM Depot
Azure AD
B2C
Scheduler
Xamarin
HockeyApp
Power BI
Embedded
SQL Server
Stretch Database
Mobile
Engagement
Functions Cognitive Services Bot Framework Cortana
Security Center
Container
Service
VM
Scale Sets
Data Lake Store
BizTalk
Services
Service Bus
Logic
Apps
API
Management
Content
Delivery
Network
Media
Services
Media
Analytics
世界の54リージョンに展開
Azure
最近のAzure関連ニュース(PR Timesより)
Why Azure for your game?
• Achieve global scale, in local regions
• 54リージョン = ユーザーに近い( lower latency)
• 中国への展開が可能
• Xbox and Xbox Live における実績と経験
• 500,000 CCU games
• 最高のセキュリティ基準
• Reliably scale at a moment’s notice
• 高性能サーバーの登場
• メンテナンスのタイミングを設定できる
• 高速開発、DevOps
• Visual Studio や Visual Studio Team Services と接続することで透過的な開発運用を実現
• オープンソースツールへの適用
• ガートナーはIaaS市場がAWSと
Azureに独占されつつある
(Public Keyより引用)
• Microsoft Azure 上で稼働する仮想
マシンの4割が Linux
• Windows 上でも多くのシステムが
OSSを利用した開発を行っている
IaaS分野でも急成長した Microsoft Azure
Ultra SSD 登場 クラウド業界最速IOPS
・・・・・・・・・・
・・・・・・・・・・
トラブルかな・・?
開発者から見たデプロイ後のアプリ
俯瞰すると・・・
運用開発
コラボレーション
バックログ
要件
アプリ関連の問
題の検知と解決
が遅い
定量的・定性的な
データに基づく投
資の優先づけと検
証ができない
監視と知見の獲得
運用のための診断
コードは後まわし
計画
開発とテスト
リリース
基本概念
計測(Instrument)
遠隔測定(Telemetry)
インサイト(Insight)
トラブルシューティングのワークフロー
シグナルの特徴
インサイトの視点
面白いゲーム開発をサポートするために
面白いゲーム開発をサポートするために
Invest in Innovation
キム:
新しい技術を試して
どんどん面白いゲーム
企画を作るぞ。
ミズナ:
Azureで高速開発と、
遠隔測定を実現すれば
ユーザーに常に最高の
体験を提供できますね
日本マイクロソフト株式会社
増渕大輔
ご清聴いただき
ありがとうございました
© 2018 Microsoft Corporation.
All rights reserved. Microsoft, Xbox, Windows, 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.

全部見せ。マイクロソフトのゲーム開発テクノロジー最新Update