[英]Tutorial for Global High scores in Android?
有誰知道在Android中設置全球高分的任何優秀教程?
Swarm也是一個很好的簡單選擇。 實施過程輕而易舉。 http://swarmconnect.com
我不知道具體的教程,但是這樣做的簡單方法是:
-Server will hold the high score values
-User will play and achieve a score
-User then downloads the current high score from server
-If current score is higher, replace database value.
當然,它變得比這更復雜。 您需要某種方法來確保對高分的並發訪問最終不會將錯誤的高分寫入服務器。 但是我認為,單獨研究這些觀點將是一個好的開始。 不知道您是要自己做還是要尋找一種服務來為您實現它。
嘗試解析 。
他們基本上會為您處理所有事情。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.