Sign In Register

How can we help you today?

Start a new topic

Persist Data between players

Can anyone tell me how can I make a inventory system in which I can define a limited number of virtual goods and user can buy goods from them. Eg. I can define 100 coins and let's consider player 1 buy 10 coins with currency_1 then in our inventory only 90 coins left, Again player 2 can buy coins from this remaining 90 coins and so on. Once coins will be 0 How can I make custom script which will add some coin again to this inventory not on client but with REST API or With GameSparks cloud script.


Looking forward to hearing from you guys.


Thanks

Login to post a comment