Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Twilio Syncでオンラインゲームは作れるのか / Twilio Sync Online...
Search
Neri78
February 24, 2021
Programming
340
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Twilio Syncでオンラインゲームは作れるのか / Twilio Sync Online Game
2021年2月24日に開催された「」でTwilio Syncを使ってオンラインゲームのキャラ同期を試したLTの資料です。
デモ:
https://youtu.be/koWeLGwR_Z8
Neri78
February 24, 2021
More Decks by Neri78
See All by Neri78
Are Your AI Agents Secure? Defending the Privileged Agent
neri78
0
19
Twilio Programmable Videoを利用したビデオアプリケーション開発入門 / Get Started with Twilio Programmable Video
neri78
0
120
Twilioのユーザーグループ支援について / Twilio supports user groups' activities
neri78
0
2.5k
オンラインハンズオン: クラウドコンタクトセンターを構築 // How to get started with Twilio Flex
neri78
0
230
Twilio Liftoff for Japan Part 2: Twilioアプリケーションの開発 / Twilio Liftoff Japan Part 2: Twilio App Development
neri78
0
130
Twilio Liftoff for Japan part 1: Twilio入門 / Twilio Liftoff Japan Part 1: get started with Twilio
neri78
0
220
コンテンツマーケティングにおけるBlog / content marketing blog jp
neri78
0
150
はじめてのTwilioシリーズ - SMSを数行のコードで送信!/ Twilio Programmable Messaging 101 HandsOn
neri78
0
360
TwilioQuest - 2021 新春チャレンジ - 結果発表 / TQ 2021 New Year Challenge Closing
neri78
0
550
Other Decks in Programming
See All in Programming
contenteditable と日本語入力に向き合う
colorful12
0
190
Compiling a real-world CLI tool to native with Static Hermes
tmikov2023
0
110
AIに “答え“を書かせるのを やめてみた
___akari11
0
120
更なる可用性を求めて、5年間運用したKotlinのアプリケーションをGoでリプレイスする話
ken_tunc
0
480
Turning Architecture into Unit Tests in the AI Era (NSSpain XIV)
steliosf
PRO
1
140
半永久的に提供し続けられるプライベートクラウドを目指して ― 利用者の認知負荷を抑えるAPI抽象化とハードウェア世代交代の基盤設計
tomokon
0
480
AI主導のプログラミング学習アプリを作ってみた
econanringo
0
150
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
540
Simple Storage Service(S3) is not simple
iwatsukayura
0
250
ジョジョの世界をXRで再現する
mofurune
0
150
技術的負債の返済は、AI時代の複利で効く投資 — 経営としての意思決定とその遂行
curekoshimizu
1
2.3k
AWSに止められる覚悟してますか?
morizo_1984
2
530
Featured
See All Featured
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
840
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1k
How to build a perfect <img>
jonoalderson
1
6.1k
Faster Mobile Websites
deanohume
310
32k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
520
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
450
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k
Producing Creativity
orderedlist
PRO
348
41k
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
Navigating Weather and Climate Data
rabernat
0
550
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k
Transcript
Twilio Syncで オンラインゲームは 作れるのか?
自己紹介 池原 大然 TwilioのDeveloper Evangelist Email:
[email protected]
Twitch Twitter GitHub
@Neri78
ドラゴンクエストウォーク(DQW) やってます! • 無(理のない)課金勢 • 1日平均14,000歩ほど あるいてます! • MMORPGもやりこんでました!
今日のお題
Twilio Sync GA! 2021/01/27 (PST)
Twilio Sync とは?
リアルタイムで状態を同期する機能を提供 竜王マジつええ text: 竜王マジつええ 竜王マジつええ 竜王マジつええ 竜王マジつええ 主なオブジェクト • Documents
• Lists • Maps
None
None
It’s time to build!
None
player: A x:5, y:20 新しい位置 player: A x:5, y:20 プレイヤーAを
新しい 位置に移動 RPGツクールのプラグインで Syncを利用し、キャラクターを移動
完璧じゃないか!
制限... https://www.twilio.com/docs/sync/limits • 合計接続数 ◦ サブアカウントごと 7,000接続 ◦ 全サブアカウント合計で10万接続 •
接続の確立 ◦ サブアカウントごとに110接続/秒 ◦ 全サブアカウント合計で1,000接続/秒 • アップストリーム要求 ◦ 接続ごとに 500リクエスト/秒 ◦ 全サブアカウントで 20,000リクエスト/秒 • オブジェクトへの書き込み ◦ オブジェクトごとに20回/秒 10秒間のバーストウィンドウ • オブジェクトの読み込み ◦ オブジェクトごとに20回/秒 10秒間のバーストウィンドウ • オブジェクトのサイズにも制限
ご利用は計画的に
リソース Twilio Sync(なんとただいま2.0.0) https://www.twilio.com/docs/sync Firebaseで実現した例(今回の元ネタ) RPGツクールMVでオンラインゲームを作ろう! https://qiita.com/krmbn0576/items/ef942219ea72541a580a
おしらせ
Twilioハンズオン、積極的に開催中です! https://twilio.connpass.com/ そのうちSyncもやるよ!
ありがとうございました