Hi, So we have a platformer game which have 8 different character .So when user get 10 diamonds, character 2 will be unlocked. So how we unlock character 2?
So we had added a compare logic for each character when diamond global variable greater or equal too 10 diamonds, then only 2nd character will be clickable and so on.
So our issue is we have added diamond in almost every stages(not spawned) when user play 1 stage repeatedly he will get all the diamond on stage 1 only. so here where the problem occurs.
Any simple way to minimize this loop hole ??