Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Twilio Syncでオンラインゲームは作れるのか / Twilio Sync Online...
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Neri78
February 24, 2021
Programming
330
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
8
Twilio Programmable Videoを利用したビデオアプリケーション開発入門 / Get Started with Twilio Programmable Video
neri78
0
110
Twilioのユーザーグループ支援について / Twilio supports user groups' activities
neri78
0
2.1k
オンラインハンズオン: クラウドコンタクトセンターを構築 // How to get started with Twilio Flex
neri78
0
220
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
210
コンテンツマーケティングにおけるBlog / content marketing blog jp
neri78
0
140
はじめてのTwilioシリーズ - SMSを数行のコードで送信!/ Twilio Programmable Messaging 101 HandsOn
neri78
0
340
TwilioQuest - 2021 新春チャレンジ - 結果発表 / TQ 2021 New Year Challenge Closing
neri78
0
530
Other Decks in Programming
See All in Programming
AI駆動開発を妨げる技術的負債の解消アプローチ / ai-refactoring-approach
minodriven
12
6.4k
Datadog × OpenTelemetry 入門と実践のあいだ
kn_to_maxpno
1
180
New "Type" system on PicoRuby
pocke
1
1k
Oxcを導入して開発体験が向上した話
yug1224
4
340
JavaDoc 再入門
nagise
1
410
作って学ぶ、 JSX (TSX) ランタイムの基本
syumai
7
1.7k
OSもどきOS
arkw
0
590
AI 時代のソフトウェア設計の学び方
masuda220
PRO
29
13k
LLM本来の能力を解き放つサンドボックス技術とAI民主化への適用
yukukotani
3
4.5k
Spec Driven Development | AI Summit Lisbon
danielsogl
PRO
0
210
Lemonade + Foundry Toolkit でお手軽アプリ開発
seosoft
1
370
スマートグラスで並列バイブコーディング
hyshu
0
260
Featured
See All Featured
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
11k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
400
Joys of Absence: A Defence of Solitary Play
codingconduct
1
400
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.2k
Google's AI Overviews - The New Search
badams
0
1k
The Invisible Side of Design
smashingmag
301
52k
エンジニアに許された特別な時間の終わり
watany
107
250k
Discover your Explorer Soul
emna__ayadi
2
1.1k
Art, The Web, and Tiny UX
lynnandtonic
304
22k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
470
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.6k
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もやるよ!
ありがとうございました