Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: djaydino on June 07, 2015, 11:25:51 AM
-
hi,
i have a score system that runs up very fast in later levels
and should have more than 10 digits but unity does not go higher than 10 digits.
the score system works similar like this game : Cookie Clicker (http://orteil.dashnet.org/cookieclicker/)
also thing to buy will be deducted from that score. similar from Cookie Clicker (http://orteil.dashnet.org/cookieclicker/)
any suggestions are very welcome.
-
Hmm.. All of the actions use native integers but for this type of thing it would typically use a long integer which is a different type of variable entirely so custom actions would have to be made for them. I believe they go up to 20, but I can't remember.. Have never really had a need for them.
Beyond that you could make a score builder sort of thing that can compile a string in parts based on smaller multipliers instead of direct score value, I think. There is probably some general info on the net about doing this in unity. Have you looked around on unity answers or the unity forum yet? Might find some high level ideas about it.
-
i think i found a solution :
(http://s25.postimg.org/988siijyn/Capture.png)
when i reach higher amounts i can multiply lower and add Million / Billion / Trillion and so on to my string and it will still be easy to deduct to the total.
i will add SOLVED after a bit more testing :)
-
seems to work fine so i have set this to solved.
still have to test on mobile tho..