Hi guys
I wanted to create the Achievements in game outside of google play etc.
I’ve never done such a thing so I have two questions:
-
Logically I’m forced to put the increases on the points or there another way? For Example, The goal is: eliminate 10 balls. So every time I delete a ball I will have to do something like
ballsEliminated = ballsEliminated +1
?
-
For simplicity I often look to create a vector, so the items would have numerical indices and not string. Why should I remember me the number of each objective? If that were the point one should go as well
achievements[1] = achievements[1] + 1
?
thanks in advance for availability