#how to make this number go up exponentialy
1 messages · Page 1 of 1 (latest)
upgradeCost *= 1.1 --makes it go up 10% every time
or if you want it to scale higher very upgrade then
local baseValue = 100
local upgrades = 5 --track ur upgrades somehow
upgradeCost = baseValue * (1.15 ^ upgrades)
--The higher upgrades, the higher is upgradeCost
upgradeCost = upgradeCostOriginal + (amountUpgraded * 1.2 * upgradeCostOriginal) --not recommending 50% for this calculation
** You are now Level 5! **
How to make the click per. Tap value increase too
this isnt exponentialy
Fixed this mb
Your calculation is constant
how is mine constant
It increases 10% each time not rising the percentage over the amount of upgrade
Like how much you want to increase it over time
did you see this?
local upgrade_1st_state = 0
local upgrade_2nd_state = 1
local upgrade_3rd_state = 2
local baseValue = 100
print(baseValue * (2 ^ upgrade_1st_state))
print(baseValue * (2 ^ upgrade_2nd_state))
print(baseValue * (2 ^ upgrade_3rd_state))
this looks exponential to me
Thats a different code
And he didnt show any concern yet
thats not
local baseValue = 100 --this is my baseValue
local upgrades = 5 --these are my upgrade states
upgradeCost = baseValue * (1.15 ^ upgrades) -- im printing this
No shit thats the same code I've done
What the fuck is wrong with you
Exponientally
Not a FUCKING multiply
So its you
yes
then shut
but before im multiplying im using ^ in brackets`?
do you know how exponential functions work?
okay stop ragebaiting me
this legit proves my point
There's difference between exponential and exponentially
and you should talk to him not me
chatgpt is giving me the same code I sent
like
????
Mb if I missunderstood it but I think you misunderstood something here
Cause the thing I sent is exponentially
Ask him not me
???
💀
He asked it to us
He never told what scaling he's on abt
Please
Try
Read harder
My mathing is not wrong about being "exponentially"
I never thought he meant
Calculate it with exponentials number
Thats what's im wrong ok?
