SergenteGatto

Hi guys! I was making a game and I wanted to do an achievement system but I don't know how. Can you help me please?

deck26

For the current run of the game or to be remembered for that user when they reload the game?

SergenteGatto

deck26 wrote:

For the current run of the game or to be remembered for that user when they reload the game?
I want to make it remembering the achievement when the player reload

deck26

Which mean storing the usernames and a value per user in cloud variables. The wiki page on Global High Scores is one example.

Essentially you need to use cloud variables but these only hold numerical data so you need to encode usernames - eg 01 for A, 02 for B etc. Cloud variables are limited to 256 digits and you only have 10 per project so this limits how much you can store. Start with working out the encoding of usernames as the rest is relatively easy.

codeman1044

You could also use copy/paste string importing. that would make this easier, as there would be practically no limitations to how much data you can store (20,000 character limit, but that's probably not going to happen).

SergenteGatto

deck26 wrote:

Which mean storing the usernames and a value per user in cloud variables. The wiki page on Global High Scores is one example.

Essentially you need to use cloud variables but these only hold numerical data so you need to encode usernames - eg 01 for A, 02 for B etc. Cloud variables are limited to 256 digits and you only have 10 per project so this limits how much you can store. Start with working out the encoding of usernames as the rest is relatively easy.
Ok, thanks I will check the wiki page too

SergenteGatto

codeman1044 wrote:

You could also use copy/paste string importing. that would make this easier, as there would be practically no limitations to how much data you can store (20,000 character limit, but that's probably not going to happen).
Can I use a list to do this?

PinkTabbyHunterLargo

Lists can help, as you can just triple click on an item in a list and ctrl + c to copy it. If you store each item in a list and then add a list to a list, you can get over 200,000 characters, but who would use that many?

SergenteGatto

PinkTabbyHunterLargo wrote:

Lists can help, as you can just triple click on an item in a list and ctrl + c to copy it. If you store each item in a list and then add a list to a list, you can get over 200,000 characters, but who would use that many?
That's a good idea thanks