HighScore Combination
@ivoryworks
Gunmaweb #15
Profile
@ivoryworks
Webじゃないプログラムを書いている会社員
Google I/O 2013

Google Play Game Services
Google Play Game Services

https://developers.google.com/games/services/
すこしだけAndroidの話をします
●
●
●
●
●

GameCenterのような存在が不在だった
3rd-party製のランキングシステム使うしか
ランキングページはWeb(じゃないのもあるけど)
テーマの不一致
パワフルな人は自作で
Developer Console

https://play.google.com/apps/publish/
Google Play Game Services
●
●
●
●
●
●

Google+ Sign in
Leaderboards
Achievements
Cloud Save
Real-time multiplayer games
Anti-piracy
Google+ Sign in
●
●
●
●

アプリ上でログイン
認証機構
共有
海賊行為対策(Anti-piracy)
Leaderboards
ランキングボード
・形式
整数?時間?通貨?

・順位付け
降順?昇順?

・制限
エントリ可能なスコアの範囲
Leaderboards
ランキングボード
・複数作れる
ハイスコア?時間?

・期間
毎日、毎週、毎月、全期間

・公開範囲
友達だけ、友達の友達、世界
Achievements
アチー・・・
アチーブ、ヴェ・・・メ、
なに?
Achievements
●
●
●
●

トロフィーとか勲章みたいな
特定条件で解除される
4sqのバッチみたいな
ゲームクリアに必須でなくていい
Achievements
● 状態
○ ロックされている(見えている)
○ 隠されている(解除で見える)
○ ロック解除されている
Achievements
● 解除条件
○ 蓄積(Play回数とか時間など)
○ 点数
○ その他なんでも
Achievements
● 制約
○ 5つ以上設けないと公開できません
○ (使ってなくても大丈夫みたい)
※ でもAchievementsはユーザの再プレイを促す
仕掛けなので積極的に使うのが良いです
Cloud Save
任意のデータを保存できる
● 1Slot 256Kbyte(webは128?) × 4本
● バージョン管理による競合検知が可能
● Base64
もっと欲しい人はGoogle Drive(API)使おう。
見えちゃうけど。
Cloud Save
https://developers.google.
com/games/services/common/concepts/cloudsave
* Google Driveとの対比表ありマス
Step

デザイン

アプリ
開発

G.S.
公開

G.S.
設定

テスト

テスト

アプリ
リリース

※公開以降はGameServiceを削除できないから気をつけ
てね
Sample - GitHub

https://github.com/playgameservices
Sample
an

dro
id

We

b
Sample
Sample

ivoryworks
Sample
Google Developer
Google Developer
さいごに
● お年玉もらったらデベロッパー登録しよう
● ゲームつくろう
● ゲームじゃないのも作ろう

Gunmaweb#15 High score combination