If making a clicker game like cookie clicker, what's the most effecient way to make an achivements system, for total clicks?
What I did was using a switch statement with cases, I do not find that efficient at all.
Feel free to take a look at my code below,
I tried to keep it simple and not take too much space, which ended up with this switch statement.
Hey Ragey your approach is not so bad, depends on what you want to achieve.
I like how you put milestones on the clicks.
What you can do is, just add your click count to a variable an return it when needded without swich whenever you need it, you just have to call it.