I know that it may not detailed thread title but I will give more detail about my question.
I'm working on a strategy game, and can't find a solution about building cost or training cost. I spent 1 week to calculate it but I can't find the formula. I kindly request help from experienced developers.
Here is the example:
Building Name: Quarry Building Time: 15 seconds Production per hour: 25 Stones
I give this building random building cost for Level 1; 20 Stones, 15 Timber, and 10 Iron.
First of all, I thought this: Quarry at Level 1 is producing 25 Stones for p/h, and in 24 hours 600 Stones.
How can I calculate to give building cost for upper levels of Quarry? Is there any formula or we can give random cost for it?
Thanks!