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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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.4k
オンラインハンズオン: クラウドコンタクトセンターを構築 // 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
R8 の設定見直しでアプリサイズ削減
andpad
0
140
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
470
Are APIs Still Relevant in the AI Era?
soyuka
0
420
AWSに止められる覚悟してますか?
morizo_1984
2
510
Agentic Software Factoryに、すごく賢いIF文を。 / super smart IF statement into the Agentic Software Factory.
rkaga
7
1.8k
見えないものを探る要求要件定義に必要な基本的思考 / invisible-requirement-thinking
minodriven
13
6.6k
手動確認はもう限界 〜XCUITestでCustom URL Schemeの遷移を起動種別ごとに自動テストする〜 / Testing Custom URL Schemes with XCUITest
otouto
0
390
技術的負債の返済は、AI時代の複利で効く投資 — 経営としての意思決定とその遂行
curekoshimizu
1
2.2k
パズルゲームの作り方 / how to make puzzle games
kaityo256
PRO
2
270
SalesForceを内製化!? ~ HR事業を支える顧客管理基盤のインフラを大公開 ~
oku053
0
130
iOS 27でニュースアプリはどう変わる!? 〜日経電子版の新機能対応と、開発事例から〜
lynnswap
7
13k
Vue Fes Japan 2026 タイムテーブル徹底解説
448jp
1
620
Featured
See All Featured
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
520
Technical Leadership for Architectural Decision Making
baasie
3
590
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
Raft: Consensus for Rubyists
vanstee
142
7.7k
Skip the Path - Find Your Career Trail
mkilby
1
240
Bash Introduction
62gerente
615
220k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
760
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
690
Six Lessons from altMBA
skipperchong
29
4.5k
Typedesign – Prime Four
hannesfritz
42
3.2k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
270
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もやるよ!
ありがとうございました