How to implement "loot boxes"
-
brainCloud doesn't directly support loot boxes currently... Though of course the Item Catalog and User Items services give you the building blocks to construct your own system in cloud code.
To implement such a system, you would:
- use Global Entities or Unowned Custom Entities to represent the collection of loot box templates
- construct your JSON with the rules (percentages, etc.) for constructing the loot box
- then write a cloud code script that when run - performs the work to award the user the relevant items
Note - there are future plans to add such a feature to brainCloud - but it isn't scheduled yet. I'll add your +1 !
Paul.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login