Hello forum friends , i started creating a clicker game for my school project .
The project now -
1.click on image get points
2.upgrade clicking value by spending points
3.added another upgrade witch buys you a unit witch generates points /second
So im stuck on number 3 now , i want to add more of them , i was using global variables .But i guess i should use objects ? because i want to create like 10 of them …When you click on diffrent buttons it should change the cost ,points ,points/second for the object.Does a single function with paramaters will be enough ? .I strugling to find the right examples or tutorials .Help me out friends
Have a nice day