為 Google 播放器帳戶存儲自定義數據的免費方式。(安卓,全球定位系統) (Free way to store custom data for a google player account. (Android, GPGS))


問題描述

為 Google 播放器帳戶存儲自定義數據的免費方式。(安卓,全球定位系統) (Free way to store custom data for a google player account. (Android, GPGS))

我正在尋找一種方法來為我的 android 遊戲存儲一些簡單的數據(遊戲進度、解鎖等)。遊戲將使用遊戲內貨幣(通過獎勵、應用內購買、廣告觀看賺取),因此無法在本地存儲數據。

要求是:

  • 即使用戶更換設備或卸載遊戲,數據也應該是持久的。
  • 作弊應該不容易
  • 我正在尋找一種免費且簡單的方法為了實現這一點,即使遊戲成功,配額也足夠大

考慮到這些,我想我將能夠使用 Google Play 遊戲服務來實現這一目標。但是保存的遊戲不能是選擇,因為它們會被卸載,如果用戶卸載遊戲,並且擁有圖標的要求不符合我的需要。我可以使用成就來“存儲”玩家已經解鎖/購買的物品,但我無法通過成就管理貨幣本身。如果可以選擇將產品配置為“僅使用虛擬貨幣購買”並且它具有虛擬貨幣的銀行賬戶選項,我可以使用計費 api。(我真的不明白,為什麼不存在這樣的功能)

我還是有點希望,我想辦法濫用google‑player‑account周圍的一些免費功能來存儲我需要的。有什麼建議嗎?

如果沒有辦法租用我自己的雲數據庫,有什麼建議嗎?

PS:請原諒我的英語;)

玩家已經解鎖/購買了哪些物品,但我無法通過成就管理貨幣本身。如果可以選擇將產品配置為“僅使用虛擬貨幣購買”並且它具有虛擬貨幣的銀行賬戶選項,我可以使用計費 API。(我真的不明白,為什麼不存在這樣的功能)

我還是有點希望,我想辦法濫用google‑player‑account周圍的一些免費功能來存儲我需要的。有什麼建議嗎?

如果沒有辦法租用我自己的雲數據庫,有什麼建議嗎?

PS:請原諒我的英語;)

玩家已經解鎖/購買了哪些物品,但我無法通過成就管理貨幣本身。如果可以選擇將產品配置為“僅使用虛擬貨幣購買”並且它具有虛擬貨幣的銀行賬戶選項,我可以使用計費 api。(我真的不明白,為什麼不存在這樣的功能)

我還是有點希望,我想辦法濫用google‑player‑account周圍的一些免費功能來存儲我需要的。有什麼建議嗎?

如果沒有辦法租用我自己的雲數據庫,有什麼建議嗎?

PS:請原諒我的英語;)


參考解法

方法 1:

You can use Firebase to store your data. It is a backend that is provided by Google that includes a real‑time database. It is free upto a certain limit. Failing that, there are also free third‑party hosters like hostinger.com and 000webhost.com which offer free PHP and MySQL systems.

(by Edgar Lensingrhari)

參考文件

  1. Free way to store custom data for a google player account. (Android, GPGS) (CC BY‑SA 2.5/3.0/4.0)

#google-play-games #Android






相關問題

Google Play 服務登錄錯誤 (Google Play Services sign in error)

Google Player 遊戲服務錯誤:無法構建示例遊戲 (Google Player Game Service Error: Can't build the sample game)

Google Play 遊戲服務無法接受邀請 (Google Play Game Services can't accept invitations)

ITMS-90535 無法發布 libgdx iOS 應用程序 (ITMS-90535 Unable to publish libgdx iOS app)

Google Play 遊戲成就 - 積分不變 (Google Play Games Achievements - Points Not Changing)

玩遊戲服務,我們能知道我們什麼時候通過另一個hiscore嗎? (Play Game Services, can we know when we pass another hiscore?)

Android Google Play 遊戲服務 (Android Google Play Games Services)

為 Google 播放器帳戶存儲自定義數據的免費方式。(安卓,全球定位系統) (Free way to store custom data for a google player account. (Android, GPGS))

Unity Google Play Services Plugin API 與 Show Leaderboard UI 功能不同步? (Unity Google Play Services Plugin API is not sync with Show Leaderboard UI function?)

Android遊戲客戶端,Fragment上未顯示成就解鎖彈出窗口 (Android Game Client, Achievement unlock popup not shown over the Fragment)

我在 google play 上發布的應用程序在用戶下載時會顯示一個 android 文件。我怎樣才能解決這個問題? (My published app on google play shows an android file when users download it. How can i fix this?)

Google Drive Api 已棄用(Google play games -> Saved Games) (Google Drive Api deprecated ( Google play games -> Saved Games ))







留言討論