We're working on an idle clicker game. A core feature of the game is an ever increasing economy. New worlds, upgrades, etc always cost times more then the previous ones. Hence users' amount of currency may reach quintillions, sextillions, etc.
Currently PlayFab's currency allows for a uint32 (4,294,967,295 max value). Any advice on the best approach would be appreciated.
Answer by Gosen Gao · Apr 12 at 09:46 AM
You can store the currency to the player data as a string and Player read only data will be preferred. Or you can create two virtual currencies, currency one stores the value under4,000,000,000, currency two stores how many times the currency one’s limit are reached. Once currency one reaches 4,000,000,000, you can set currency one to 0 and add 1 to currency two. In this way, you can store quite a large number.
Changing the price of an item using CloudScript? 1 Answer
Easiest Way to Find New Items in Inventory? 1 Answer
Loot System notifications 1 Answer
Craft System,Crafting system 2 Answers