SlideShare ist ein Scribd-Unternehmen logo
1 von 33
ログレス新人エンジニアの
1年と新しい取り組み
株式会社Aiming
開発グループ ソフトウェアエンジニア
小林 進
今回はログレスチームに配属された
新人の1年を紹介します
新人の1年
新人の1年
春:研修、基礎学習
夏:バグ修正、システムの勉強
秋:ボトルネック対応、新コンテンツ
冬:新コンテンツ
春:(現在)Spineの導入
新人の1年
春:研修、基礎学習
夏:バグ修正、システムの勉強
秋:ボトルネック対応、新コンテンツ
冬:新コンテンツ
春:(現在)Spineの導入
今回ご紹介するのはこちら
秋①:ボトルネック調査
VisualStudio、Xcodeを使い、
ボトルネックを調査する。
秋①:ボトルネック調査
調査の結果
・CPUにはまだ余裕がある。
・メモリはダイエットの結果余裕ができた。
・Draw()がボトルネック。
秋①:ボトルネック調査
調査の結果
・CPUにはまだ余裕がある。
・メモリはダイエットの結果余裕ができた。
・Draw()がボトルネック。
→ゲーム内のアバターなどはテクスチャの種類
が多いのが原因。
またフラグメントシェーダーもギリギリの状態。
ログレスの描画の話
アニメーションはFLASHで作られています
・デザイナーに慣れている人が多かった
・COCOSにサポートがない為、独自実装
ログレスの描画の話
その結果、
・アバターの動きをFLASHの構造で再生
→ 多様な動きを表現できる
・テクスチャ枚数が多くなった
→ COCOSバッチレンダーが非効率に
秋①:ボトルネック調査
調査の結果
・CPUにはまだ余裕がある。
・メモリはダイエットの結果余裕ができた。
・Draw()がボトルネック。
→ゲーム内のアバターなどはテクスチャの種類
が多いのが原因。
またフラグメントシェーダーもギリギリの状態。
秋②:ボトルネックの改善
秋②:ボトルネックの改善
アバター描画のボトルネック解消に挑戦
案)
テクスチャ → 個別からAtlasにする
Draw() → CPUで頂点バッファ計算、
2~5DrawCallで描ききる
秋②:ボトルネックの改善
Atlasでの描画
・COCOSにあるSpriteSheet機能を用いる
・対応するアバター種を限定し、1枚に
1枚のテクスチャで汎用的なアバターを
描画できるようになった。
秋②:ボトルネックの改善
DrawCallの削減①
・頂点バッファ内容をCPUで計算
UV,行列計算をCPUで計算してQuad描画順
でバッファに格納し、インデックス参照無
しの描画を行う。
秋②:ボトルネックの改善
DrawCallの削減②
・1Drawの最大バッファサイズを決める
大きすぎるバッファを送ると逆効果。
サポート機種を対象に最適バッファサイズ
を決める。
秋②:ボトルネックの改善
結果こうなりました
描画数 :100体
DrawCall :6(最小時)
頂点数 :17000
最低fps :55 fps
秋②:ボトルネックの改善
プロファイルを行うと
ちょっと速くなった。
秋②:ボトルネックの改善
プロファイルを行うと
ちょっと速くなった。
原因:
アバターのみで限定的な対応。
他にもFLASHを使っている物が沢山あり、
そこがまだ遅い。
秋②:ボトルネックの改善
実装は見送りに
そんなある日
Spineが来た!
Spineとは
2Dアニメーションエディタ
Spineとは
特徴
・ライブラリがC,C++に対応(他多数)
・Atlasを作成できる
・モーフィングアニメーションが作れる
・開発が活発で新機能がどんどん出る
上司
「小林君、Spineやってみたい?」
小林
「はい、やってみたいです」
1月某日の開発現場
上司
「じゃあ春には実装でよろしく」
1月某日の開発現場
上司
「じゃあ春には実装でよろしく」
_人人人人人人人_
> 春には実装で <
 ̄Y^Y^Y^Y^Y ̄
1月某日の開発現場
初春:Spineの組み込み
実装までに行った事
・ライブラリの組み込み
・Skeletonのキャッシュ対応
・突然のバージョンアップ対応
・従来のシステムとの同居
初春:Spineの組み込み
そして・・・
初春:Spineの組み込み
4月下旬に実装できました
(ギリギリ春におわってよかった)
Spineを実装してみて
実装してみて確認できたこと
・読み込みが速くなった
・再生も速くなった
・表現が広がった(ジェル系モンスターが気持ち悪い)
Spineを実装してみて
基本的な機能は実装
今後はコンテンツに合わせて
・アバター機能
・バトルの演出
・スキット演出
を鋭意実装中です
Spineを実装してみて
今後のアップデートにご期待ください!

Weitere ähnliche Inhalte

Empfohlen

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)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 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd 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 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 IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...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
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 

Empfohlen (20)

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything 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 EngineeringsProduct 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 HealthHow 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.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO 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)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 2024How 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 InsightsSocial 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 2024Trends 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 summary5 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 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 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 IntentGoogle'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 How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe 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...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 

新人エンジニアの1年と新しい取り組み