Submit Search
Upload
ポッピンゲームズジャパンにおける cocos2d-xでの ソーシャルゲーム開発事例
•
5 likes
•
6,110 views
Keisuke Kobayashi
Follow
第1回cocos2d-x開発事例勉強会(2013/06/28)での発表 blog: http://poppingames.hatenablog.com/
Read less
Read more
Technology
Report
Share
Report
Share
1 of 24
Recommended
【エスカドラ】 SpriteStudio Friendshipバナー キャラクターアニメーション制作工程
【エスカドラ】 SpriteStudio Friendshipバナー キャラクターアニメーション制作工程
株式会社エスカドラ
Bài 6 - Interface - Nền tảng lập trình ứng dụng với C#
Bài 6 - Interface - Nền tảng lập trình ứng dụng với C#
MasterCode.vn
20150108 cocos2d x-talk
20150108 cocos2d x-talk
Keisuke Kobayashi
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
Recommended
【エスカドラ】 SpriteStudio Friendshipバナー キャラクターアニメーション制作工程
【エスカドラ】 SpriteStudio Friendshipバナー キャラクターアニメーション制作工程
株式会社エスカドラ
Bài 6 - Interface - Nền tảng lập trình ứng dụng với C#
Bài 6 - Interface - Nền tảng lập trình ứng dụng với C#
MasterCode.vn
20150108 cocos2d x-talk
20150108 cocos2d x-talk
Keisuke Kobayashi
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
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
sn679259
Utilizing Ballerina for Cloud Native Integrations
Utilizing Ballerina for Cloud Native Integrations
WSO2
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
CRI Japan, Inc.
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
Toru Tamaki
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
atsushi061452
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
Toru Tamaki
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
CRI Japan, Inc.
新人研修 後半 2024/04/26の勉強会で発表されたものです。
新人研修 後半 2024/04/26の勉強会で発表されたものです。
iPride Co., Ltd.
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
iPride Co., Ltd.
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
iPride Co., Ltd.
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
More Related Content
Recently uploaded
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
sn679259
Utilizing Ballerina for Cloud Native Integrations
Utilizing Ballerina for Cloud Native Integrations
WSO2
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
CRI Japan, Inc.
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
Toru Tamaki
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
atsushi061452
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
Toru Tamaki
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
CRI Japan, Inc.
新人研修 後半 2024/04/26の勉強会で発表されたものです。
新人研修 後半 2024/04/26の勉強会で発表されたものです。
iPride Co., Ltd.
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
iPride Co., Ltd.
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
iPride Co., Ltd.
Recently uploaded
(10)
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
Utilizing Ballerina for Cloud Native Integrations
Utilizing Ballerina for Cloud Native Integrations
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
新人研修 後半 2024/04/26の勉強会で発表されたものです。
新人研修 後半 2024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Featured
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
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
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
GetSmarter
ChatGPT webinar slides
ChatGPT webinar slides
Alireza Esmikhani
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
Project for Public Spaces & National Center for Biking and Walking
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
DevGAMM Conference
Featured
(20)
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...
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...
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
ChatGPT webinar slides
ChatGPT webinar slides
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
ポッピンゲームズジャパンにおける cocos2d-xでの ソーシャルゲーム開発事例
1.
ポッピンゲームズジャパンにおける cocos2d-xでの ソーシャルゲーム開発事例 ポッピンゲームズジャパン株式会社 小林敬介
2.
目次 • 自己紹介 • 弊社開発の歴史 •
cocos2d-xへの移行 • 苦労 • まとめ
3.
喋るつもりだった内容がだいたい全部書かれてた
4.
自己紹介 • ポッピンゲームズジャパン株式会社エンジニア統括 • iOS&Android向けソーシャルゲーム •
「ピーターラビットガーデン」「アリスの不思議なテ ィーパーティー」「ピクセル&ダンジョンズ」ほか • blog : http://poppingames.hatenablog.com • 7月は筑波大学でiOS開発の講義(全三回)
5.
弊社開発の歴史
6.
弊社開発の歴史 • iOSでゲーム作る • Unityよりcocos2dの方が使いやすそう •
iOSアプリ開発者がいたので • 三作くらい作った • Androidのビッグウェーブに乗りたい • cocos2d-xに けた
7.
Unity不採用 • cocos2d使ってたので • 慣れたXcodeで開発できるので •
2Dゲーム主体なので • オープンソースじゃないので
8.
cocos2d-xへの移行
9.
cocos2d-xへの移行 • 主目的はAndroid対応 • Androidエミュレータはつらい •
試験用の端末をたくさん買うことに
10.
cocos2d-xへの移行 • cocos2dの経験はそのまま使える • 普通のAndroid開発のノウハウはあま り活きないかも •
環境構築とか、周辺的な部分は役立つ • あと課金関連
11.
cocos2d-xへの移行 • Xcodeで開発 • シミュレータやiPhone実機で確認するのが とても楽 •
Eclipseの出番はAndroid実機確認くらい • Android特有の問題はそれほど無い • リソース関連、課金関連くらい
12.
cocos2d-xへの移行 • project-creator/create_project.py で一発 •
Android開発環境の準備はやや手間 • エミュレータがアレなので実機が無いと 辛いのもネック • 普通のAndroid開発したことあるとスム ーズかも
13.
cocos2d-xへの移行 • 言語はC++にした • 外部ライブラリの使用がちょっと面倒 •
ヘッダオンリーのライブラリだとちょっ と嬉しい • C++11なんか有効にしちゃったり • 最近JSBの盛り上がりが気になる
14.
苦労
15.
C++ • ほかの言語に慣れた後のC++は辛い • virtual
とか :: とか • ヘッダファイル長い • 配列・ハッシュ・文字列がめんどい • 外部ライブラリもいれなきゃ
16.
CocosBuilderを使う • なるべくC++のコードを書きたくない • きっと再利用しやすいはず •
クオリティも上がるだろう
17.
C++ • ひたすらハードコードで紐付けることに • CCB_MEMBERVARIABLEASSIGNER_GLUE
, CCB_SELECTORRESOLVER_CCMENUITEM_GLUE • 妙に長いマクロ • 「CCB_STATIC_NEW_AUTORELEASE_OBJECT_WITH_INIT_METHOD」だの 「CCB_VIRTUAL_NEW_AUTORELEASE_CREATECCNODE_METHOD」だの • CocosBuilder自体にまだバグがあったり
18.
アプリ内課金 • 絶対必要なんだけど、めんどくさい • iOSではObjective-C++でOK •
AndroidはJNIでなんとかする • Java側も書かないといけない • がんばりたくない場合 • 外部ライブラリ・サービスに頼る手も…?
19.
外部ライブラリ • 通信関係がパワー不足 • CCHttpClientはver2.1.4で多少改善 •
内部的にはlibcurl+pthreadなので自分で改良しちゃ うのもあり • httpsが使えません • OpenSSLを自分で用意しましょう • ver2.1.4からWebSocketが使えるようになった
20.
外部ライブラリ • POCO • 何でも入ってるが、そんなに豪華じゃなくてい いよという気もする •
libcurlで十分なら、いらないかも • JSONにRapidjson • cocos2d-x標準でJSONパーサ入らないかなぁ • C++11も使ったり
21.
画像・音声リソース • AndroidではSEにwavは not
so good 、 ogg が best と書か れている • http://www.cocos2d-x.org/projects/cocos2d-x/wiki/ Audio_formats_supported_by_CocosDenshion_on_differe nt_platforms • iOSではSEに ogg が使えない • 全部とにかくMP3、という方針 • OS別にリソース分けるのは面倒だが、質はあがるかも
22.
画像・音声リソース • iOSではPVRTCがよかった • Androidだとそうでもない •
これもOS・端末で分ける? • とりあえずAndroidはpng
23.
開発者探し • JavaでAndroidって人は割といる • Objective-CでiOSの人もぼちぼちいる •
スマホでゲームでネイティブっていうとC ++の人あまりいない、というかcocos2d-x ピンポイント? • 日本語書籍の発売が非常にありがたい
24.
まとめ • cocos2dの開発経験は活きてる • でもそこそこ苦労してる •
課金、通信、リソース管理などなどはきっと これから改善されてくって信じてる • あとJSBに期待 • 日本語書籍は本当にありがたい