Google Play Game Services では、クロスプラットフォームのソーシャルなリーダーボード、アーカイブメント、などの多くの機能が使用できます (リアルタイムでの多人数対戦、クラウド保存、著作権侵害対策...)
リーダーボードとアーカイブメントを使ったSuper Jumper ベースのサンプルがGoogle Playからダウンロードできます。
このゲームのプロジェクトは GitHub上で自由に使うことができ、チュートリアルガイドはここで見られます。
他にも、Google Play Game Servicesを追加したより詳細なLibGDXベースのチュートリアルがここにあります。
Android Studioを使った最新のチュートリアルがここにあります
RoboVM環境でiOS のコードを作成する場合には、ここを確認してください。
Google Play Game Services in LibGDXGoogle Play Game Services offers cross platform social leaderboards, achievements, and much more (realtime multiplayer, cloud saves, anti-piracy...) A Super Jumper based example that makes use of Leaderboards and Achievements is available to download from Google Play. The project is freely available on GitHub, and a companion tutorial is available here. Another in-depth LibGDX-based tutorial for adding Google Play Game Services can be found here. Latest tutorial using Android Studio can be found here For getting started with code in iOS via RoboVM, check here. |
Google Play Service と使用するGoogle Play リポジトリと Android SDKをインストールします
ここから BaseGameUtils のサンプルプロジェクトをダウンロードしてあなたのプロジェクトのルートフォルダーに配置します。
settings.gradle を編集します
include 'desktop', 'android', 'ios', 'html', 'core', "BaseGameUtils"
compile project(":BaseGameUtils")
Intellij Setup
|