Research Upgrades of Idle Games
I've been trying to create a game that's a bit of an Idle game, also, I'm still just an amateur learning so I hope you take it easy on me.
I'm having trouble with the upgrades that it has or maybe the formula itself. So let's say I have resources that are generating by itself every second depending on the number of workers working in an area, what's the best approach of possibly increasing that resource per second without making a ton of nested-ifs for formula? I have a bunch of upgrades everytime the area/building levels up.
The only thing that keeps popping up in my head is: resource/sec = (((number of workers 1) research1) * research 2) & ...and so on).
It's been killing me for over two weeks now and I'm having a hard time trying to figure it out because of my day job.
Thanks, though, for any help or reply.
what's the best approach of possibly increasing that resource per second without making a ton of nested-ifs for formula?
identify the variables.
resources time workers
Anything else?
Your answer
Follow this Question
Related Questions
Can you use the superformula in unity? 0 Answers
Haversine formula Unity 1 Answer
Timer issues when converting to minutes,hrs,days,months,years 0 Answers