Hey whats up! Thank you for coming to read this post. As you already have read I have a huge problem in making a clicker game. This is what the game looks like:
The clicking object is the one in the middle. Down there are the objects that you can buy. Etc if you buy one “thing”, let’s say thing2 you will get 2 currency per second without clicking . So without clicking in 10 seconds you will earn a total of 20 currency. Also the cost of the thing will raise.
So this is an example:
thing1 gives you 1 per sec without clicking and cost 10 currency
thing2 gives you 2 per sec without clicking and cost 50 currency
thing3 gives you 5 per sec without clicking and cost 300 currency
thing4 gives you 10 per sec without clicking and cost 750 currency
This is my problem.
Sometimes when I click to purchase let’s say thing 4, it will purchase thing2 or thing3, and I have to re-click the thing 4 to purchase and it may or may not purchase it. Even when I have coded it so that it should purchase the thing4. Also etc. when I press thing10 it will purchase thing(something).
I have tried to debug it for a long time and even the google wont give me answers. Also I can not give the source code. So do anyone of you have any answers?
Anyways thank you for your time even if you can not help me.