• Categories
  • Recent
  • Tags
  • Popular
  • Solved
  • Unsolved
  • Users
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Darkly)
  • No Skin
Collapse
brainCloud Forums
C

Chris Brown 0

@Chris Brown 0
About
Posts
2
Topics
1
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

    User Entity vs Global Entity Indexed ID
  • C Chris Brown 0

    Thanks Paul,
    That should work for my needs. I wasn't sure if there would be any issues using the type to control the naming since I don't know how many of these there will be in the end or once the game goes live, how many more I will add.

    Appreciate the help!


  • User Entity vs Global Entity Indexed ID
  • C Chris Brown 0

    I'm putting in a system where Global entity data is used for data pertaining to levels. I can retrieve these and using the data, populate a level without issues. It's a great system as I can simply pass in the name of the level and retrieve the data by the Indexed ID and I don't have to worry about the Entity ID.

    I was looking for the same feature for User Entity...but it seems to be lacking. I'm working on a cloud code script to retrieve the Level data from Global Entities but also retrieve the player level progress data, so I wanted to be able to just pass in the name of the level and retrieve both. It appears with User Entity however, I don't have an easy way to get say, the player's progress data for "level1".

    What is the recommended way to work around this limitation? I could have over 100 levels and while I could store the data in one entity, I'd rather keep each level on it's own and just retrieve it with the Global Entity level data. Are there any plans to update the User Entity to include an indexed ID? Or is there another system I'm overlooking that offers the same features.

    I did see Global Entities can be assigned to a player, but that did seem a little odd for data that I expected to be private for the user. I did think about using the type and just having "Level1", "Level2", etc be the types, but that seemed off for the use of the type.

    Thank you for any assistance you can provide.

  • Login

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Solved
  • Unsolved
  • Users