question

hromoydron avatar image
hromoydron asked

Several save slots

Hello!

Is any build in solutions for using in game several save slots (same variables different values)?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
pfnathan avatar image
pfnathan answered

You can use multiple data-keys to save data this way.

"SaveGame1":"json for game 1",

"SaveGame2":"json for game 2"

etc.

2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

hromoydron avatar image hromoydron commented ·

So I made severals slots by adding to each variable name "SaveN".

But I also want to now what is the character in playfab?

As I understand character is built in solution for sever save slots, isn't it?

0 Likes 0 ·
1807605288 avatar image 1807605288 ♦ hromoydron commented ·

Right now, there are a few aspects of Characters that perform poorly. We would prefer if you did not use Virtual Currency, or Inventory with Characters right now.

Character Data works fine though. I think it's a more complicated solution, but it would be possible to use Characters as a workaround for as save slots. In the end, I think using keys in UserData as described by pfnathan is better.

1 Like 1 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.