Enviar búsqueda
Cargar
オンラインゲームの遅延の話
•
Descargar como PPTX, PDF
•
7 recomendaciones
•
2,316 vistas
Yoshihiro Ura
Seguir
高専カンファin奈良2資料
Leer menos
Leer más
Denunciar
Compartir
Denunciar
Compartir
1 de 66
Descargar ahora
Recomendados
enchant.jsにおけるチーム開発手法
enchant.jsにおけるチーム開発手法
Naoyuki Totani
かわいいソフトウェア
かわいいソフトウェア
Sho Ooisi
最適化で身近な◯◯のワクワクを取り戻そう
最適化で身近な◯◯のワクワクを取り戻そう
JUNKI MANO
2014.07.06三都物語lt
2014.07.06三都物語lt
Hajime Nagawa
はじめに
はじめに
yukihiro sakai
CSNagoyaコミュニティアピール
CSNagoyaコミュニティアピール
ttlweb
HHKB20th_LT01
HHKB20th_LT01
Masahiko Jinno
GameJam攻略会議用LT[2012/12/02]
GameJam攻略会議用LT[2012/12/02]
Takuya Kato
Recomendados
enchant.jsにおけるチーム開発手法
enchant.jsにおけるチーム開発手法
Naoyuki Totani
かわいいソフトウェア
かわいいソフトウェア
Sho Ooisi
最適化で身近な◯◯のワクワクを取り戻そう
最適化で身近な◯◯のワクワクを取り戻そう
JUNKI MANO
2014.07.06三都物語lt
2014.07.06三都物語lt
Hajime Nagawa
はじめに
はじめに
yukihiro sakai
CSNagoyaコミュニティアピール
CSNagoyaコミュニティアピール
ttlweb
HHKB20th_LT01
HHKB20th_LT01
Masahiko Jinno
GameJam攻略会議用LT[2012/12/02]
GameJam攻略会議用LT[2012/12/02]
Takuya Kato
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
Más contenido relacionado
Destacado
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
Destacado
(20)
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
Skeleton Culture Code
Skeleton Culture Code
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
How to have difficult conversations
How to have difficult conversations
Introduction to Data Science
Introduction to Data Science
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
The six step guide to practical project management
The six step guide to practical project management
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
オンラインゲームの遅延の話
1.
会社でゲーム作ってて
思うこと 高専カンファ in 奈良2 大阪府立大学工業高等専門学校5年 kyubuns
2.
自己紹介 • 名前:kyubuns (きゅぶんず)
• 最近、”枠の人”とか呼ばれている • Twitter : @kyubuns • Skype : kyubuns • Steam : kyubuns • GitHub : kyubuns
3.
自己紹介 • 大阪府立大学工業高等専門学校 • プログラミング研究会 •
5年 電子情報コース • 授業構成 • 電気:電子:情報 = 4:4:2
4.
自己紹介 • 大阪府立大学工業高等専門学校 • プログラミング研究会 •
5年 電子情報コース ← まだ学生 • 授業構成 • 電気:電子:情報 = 4:4:2
5.
自己紹介 • 株式会社Aimingでアルバイト。 •
内定いただきました。 • 週4日、学校終わってから。
6.
Aimingの紹介 • なんかtwitterで某A社とか言われてるアレ。
7.
Aimingの紹介 • オンラインゲーム作ってます。
Copyright © 2011 Aiming Inc. All Rights Reserved.
8.
Aimingの紹介 • ゲームプログラマ志望の方へ。 •
Boost, C++11使えます。 • Unity使ってます。 • git, gerrit, jenkins使ってコードレビューやってます。 • iPhone, Android向けのゲームも作ってます。 • 新しい技術どんどん取り入れていきます。 • {社内|社外}勉強会も積極的にやってます。 • 以上の単語にピン!と来た方、 インターン受け付けてるよ!!!( ^o^)ノ
9.
会社でゲーム作ってて
思うこと 高専カンファ in 奈良2 大阪府立大学工業高等専門学校5年 kyubuns
10.
今からオンラインゲームプログラミングの話をします。
(╹◡╹ )
11.
と思ったけれど、一部の変態以外みんな寝てしまう。
(╹_╹ )
12.
なので (╹⌓╹ )
13.
(▰╹◡╹) プログラミングの話 しません!!! 聞きたい人は後で来てください。懇親会も行きます。
14.
高専カンファ in 奈良2のwikiより
15.
高専カンファ in 奈良2のwikiより
16.
オンラインゲームの現実
17.
オンラインゲームって嘘だらけです。
18.
分かりやすい例 ザコ敵の位置は同期を取っていない。
敵がどこにいるかは、みんなバラバラ。
19.
分かりやすい例
同じ試合なのに、 プレイヤー毎に対戦結果がバラバラ。
20.
21.
22.
??? • どういうこと??? •
みんな、見てる世界が違う。
23.
??? • どういうこと??? •
みんな、見てる世界が違う。 • なんで??? • そこにネットがあるから。
24.
??? • どういうこと??? •
みんな、見てる世界が違う。 • なんで??? • そこにネットがあるから。 ネットは遅い
25.
ネットは遅い • どれくらい遅いの?? •
無線とか挟んで通信すると100msとか行く。 例えば
26.
KさんとSさんが仲良く遊んでいるところに Kさん
Sさん
27.
_人人人人人人人人人人人_ > 突然のツインエビフライ
<  ̄^Y^Y^Y^Y^Y^Y^Y^Y^Y ̄ Kさん Sさん
28.
Kさん
Sさん
29.
Sさん Kさん
30.
Sさん Kさん
31.
Kさん
Sさん
32.
Kさん
Sさん
33.
Kさん
Sさん
34.
100msぐらいいいじゃん別に
35.
36.
↓100ms前の位置にいる
37.
38.
アイテムとったよー!ってデータをお互いに送り合う
39.
ネットは遅いから、 嘘の情報を表示せざるを得ない。
40.
41.
対策 • アイテムを取っていいか他の人に確認しにいく。
42.
対策 • アイテムを取っていいか他の人に確認しにいく。 •
だからマインクラフトでブロック拾うのは重い。
43.
遅いだけじゃなくて 意外と送れるデータ数は少ない
帯域についてはググれ。
44.
具体的に言うと、 位置情報を1秒に数回しか送れない
45.
つまり
46.
Kさん
Sさん
47.
!?
シュッ Sさん Kさん
48.
!?
シュッ Kさん Sさん
49.
?
←普通に歩いてきたつもり Kさん Sさん
50.
位置情報が送られてきたのでここに表示した↓
Sさん Kさん
51.
歩いて位置変わったけど情報を送れない↓
Sさん Kさん
52.
やっと次の位置情報送れた!↓ Kさん
Sさん
53.
!?
シュッ Sさん Kさん
54.
!?
シュッ Kさん Sさん
55.
対策 • 一定時間はその方向に向かって歩いている
ことにする
56.
対策 • 一定時間はその方向に向かって歩いている
ことにする この辺からオンラインゲームの嘘が生まれる↑
57.
左上に向かって歩き出す。
58.
左上に歩き出したよ!という情報が届く
59.
位置情報こないけど、 恐らく同じ方向に歩いているだろう
しかし、実際は突然のUターン
60.
61.
位置情報、Uターンしたよ!情報が飛んでくるが、 既に本来Uターン開始した位置を過ぎていた!!!ておくれや!!
本来
62.
↓予測して表示してしまった位置
本来
63.
本来 本来の現在位置、移動方向からして 今から1秒後はここにいるはず!
64.
今度は、この方向で移動させる。 本来いるはずの位置に できるだけ速く自然に補間する。
65.
こういうごまかしがオンラインゲーム作るときの難しさ
66.
こういうごまかしがオンラインゲーム作るときの難しさ ごまかしの結果、みんなバラバラの画面を見ることに・・・
Descargar ahora