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
18
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
技術的負債の返済は、AI時代の複利で効く投資 — 経営としての意思決定とその遂行
curekoshimizu
0
1.9k
App Storeの外へ──日本のiOSサイドローディング入門 for iOSDC Japan 2026
yuukiw00w
0
260
AWS DevOps Agentで インシデント対応をAIに任せたい
honmarkhunt
7
3.3k
【高い買い物LT会】初任給で話題の国産フィジカルAIを買った話
akagami
PRO
0
170
Ghostty + Neovimで作る 透明でカッコ良い開発環境
j341nono
0
130
AGENTS.md Is Not Enough:Build Skills, Don't Download Them
lx_t
0
130
iOS 27でニュースアプリはどう変わる!? 〜日経電子版の新機能対応と、開発事例から〜
lynnswap
7
13k
フロントエンドUIフレームワークのこれまでとこれから
ssssota
5
3k
モデルのリファクタリングが難しいと思ったら、そもそも複雑だったのはビジネス仕様だった ? / is-the-business-domain-the-real-complexity
hatsu38
0
410
TiDB Cloudのカスタムコントローラーによるオートスケール対応
takaidohigasi
0
140
Turning Architecture into Unit Tests in the AI Era (NSSpain XIV)
steliosf
PRO
1
110
巨大モノリシックアプリ モダン化大作戦
ktcryomm
1
1.1k
Featured
See All Featured
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
600
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.2k
The Cult of Friendly URLs
andyhume
79
7k
Building AI with AI
inesmontani
PRO
1
1.3k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.7k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
A Modern Web Designer's Workflow
chriscoyier
699
190k
Making the Leap to Tech Lead
cromwellryan
135
10k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Art, The Web, and Tiny UX
lynnandtonic
304
22k
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もやるよ!
ありがとうございました