Leaderboards
Understand the core concepts and implementation options for Leaderboards, a gaming service that ranks and stores player scores.
読み終わるまでの所要時間 1 分最終更新 8日前
Leaderboards は Unity Gaming Services の機能であり、プレイヤースコアの保存、ソート、ランキングをサポートしています。
トピック | 説明 |
|---|---|
| 使用の準備 | リーダーボードを備えたプロジェクトを設定する方法について説明します。 |
| SDK サンプル | サンプルを使用して、Leaderboards を Unity プロジェクトに実装する方法について説明します。 |
| SDK ドキュメント | Leaderboards SDK についての理解を深め、Unity プロジェクトでオンラインマルチプレイヤーリーダーボードを使用します。 |
インターフェース
以下のインターフェースを使用して Leaderboards を操作し、アプリケーションに実装することができます。- Unity Dashboard を使用してリーダーボードを作成、管理し、エントリーを表示します。
- REST API を使用して MWU (Made with Unity) 以外のゲーム向けに Leaderboards を実装します。
- Client REST API でのプレイヤーアクションの実行。
- Admin REST API での管理者アクションの実行。
- CLI で Leaderboards サービスの呼び出しを行います。
- Unity SDK を使用してアプリケーションにリーダーボードを実装します。
- Cloud Code サービスを利用して Leaderboards 機能を実装します。
- Deployments ではコマンドラインインターフェース (CLI) がサポートされています。
- Unity Dashboard UI の代わりにファイルを使用して Leaderboards を設定できます。
- バージョン管理の一部としてこれらのファイルを追加し、Unity Dashboard のコンテキストの切り替えを最小限に抑えます。
結果
結果 | 説明 | 使用したサービス |
|---|---|---|
| Display player names in Leaderboards | Retrieve player names using the Authentication service and display them in your Leaderboards. | |
| Display Leaderboards in Lobby menus | Implement Leaderboards in Lobby menus to let players compare themselves against each other. | |
| Compare scores with Friends | Let players view Leaderboards for their friends and compare against each other. |