Sign In Register

How can we help you today?

Start a new topic
Answered

Multiple profiles per player

Dear Gamesparks-Team, I am currently evaluating which mBaaS to use. Currently, I am focusing on GameSparks, App42 and PlayFab. My issue is, that for our game a user/player will be able to create multiple profiles. For each profile I want to store the information that is provided by GameSparks out of the box - currencies, achievements, virtual goods etc. and use the respective functionality. Unfortunately, only Playfab supports multiple profiles (called Characters at Playfab) per player. My current workaround for GameSparks would be to create a player that owns other playsers (the profiles) and store the ownership-relation in a collection called "Profiles". Upon launching the game, the owner would log in and could see all its profiles and when selecting a profile, the respective profile would be authenticated and logged in. Unfortunately, with this approach I would be using many more MAUs than necessary. Imagine I have 5k MAUs with 2 profiles each, I would end up with 3*5k = 15k MAU already exceeding the free limit. Is there any suggestion how to implement multiple profiles per player and keeping all the functionality from GameSparks for the profiles without breaching the MAUs? You can also move this thread to the "Feature Request" section if you feel it fits better there. Best regards, Heiko

Best Answer

 Hey Heiko,

It is possible for you to build this kind of framework yourself, as our customers have, in the past implemented systems with a single player account having multiple characters. However, it will always need to be tied to a single player account and would need some modification of the out-of-the-box features to work.
But it is possible, yes.

Sean


2 people have this question

Please Upvote the related Feature Request to help GameSparks prioritize development for this.


https://support.gamesparks.net/support/discussions/topics/1000083650/page/last#reply-to-post

Hi Guys,


Multiple GameSparks player profiles for characters wouldn't be the way to handle this as it's simply going to drive up the MAU count unnecessarily. @Gareth yes, this method would be mostly custom. Currently you can't have multiple profiles per GameSparks account. We are planning on adding a sub account feature in the future but I'm afraid I don't have a date for when this will be in place.


@Pr yes that is correct. When the player makes their character selection set that value on their scriptData and reference it when any transactions are made in Cloud Code. You could essentially treat the main GameSparks account as a container for all of the currencies and virtual goods. When any currency is credited while playing as a certain character you could simply check the current active character value and update that character document accordingly.


Regards,

Liam

each profile is a user (player).

you link multiple profiles (users/players) to one "main" user / player (that you have assigned to be the "account")

These answers are too vague. How do we give one user two profiles? That's why these question rounds go on so long.

@Gareth:

you can, if each of the Characters / Profiles is a GameSparks "Player".

You can use its ID to use the GameSparks features. (or you just authenticate with your character in your game).

Liam,


your solution is 100% custom code though right? It means none of the GameSparks features can be used. Like currency and virtual goods, etc..

Liam,


What do you suggest is that you would only need to pass that info once, when the player selects his character. Then after that we would need to refer to the scriptData from the cloud code?

Is that right?

Hi Guys,


If you plan on using multiple characters by give them a specific ID value in a document in a collection then what you could do is store the current active characters ID in the players scriptData. Then when something needs to change in the character inventory, the current id can be retrieved from scriptData and the correct character document can be updated. You would just need an event to set the scriptData value when a player decides what character to play with.


Regards,

Liam

It's a shame they don't have this feature yet still. But it seems that the custom workaround would block the ability to use their other systems because of things like buying virtual goods. They'd just be assigned to the single player account, rather than being able to assign them to the specific profile, right?

Yeah this is what I do.

I have a collection for the characters that only contains the Player Id and the character name.

Each document contains the ID and the character name.


I then always add in my other collections both values (Name and ID).

And,I search my info by using these two values (Name and ID).


There are no other ways to do that right now I think.

What did you do?
I use now a "Player" for each of my Profiles and link the Account (also a "Player") with its Profiles

Nevermind. I found it.

Hello, Did someone managed to make it work or would share how to do it? Thanks!
Answer

 Hey Heiko,

It is possible for you to build this kind of framework yourself, as our customers have, in the past implemented systems with a single player account having multiple characters. However, it will always need to be tied to a single player account and would need some modification of the out-of-the-box features to work.
But it is possible, yes.

Sean

Hey did you find out more about this? Did you implement your multiple profiles under one user?

Login to post a comment