Damn.. My Exeponetial Score is all wrong!!!
SaveDave
Member Posts: 140
Ahhggg!
firstly, just wanna thank orbz and RH for the previous help with the Exponential issue...
however, after having to completely revamp my game to work around performance issues, i now need the expo to calculate a score from 1-100,000 over the space of time instead of distance.
the count needs to start from a collision with an actor and continue increasing exponentially for a total of 30 seconds. It also needs to be stopped at the 30 time limit, or, upon a press of the screen.
how the heck do i do this... i have a mess of a screen now with all my previous attributes!!
any help would be fantastic!
firstly, just wanna thank orbz and RH for the previous help with the Exponential issue...
however, after having to completely revamp my game to work around performance issues, i now need the expo to calculate a score from 1-100,000 over the space of time instead of distance.
the count needs to start from a collision with an actor and continue increasing exponentially for a total of 30 seconds. It also needs to be stopped at the 30 time limit, or, upon a press of the screen.
how the heck do i do this... i have a mess of a screen now with all my previous attributes!!
any help would be fantastic!
Comments
sorry... just sitting around with this until i can find a way to continue!
~~ Linear ~~
Timer for 30s
constrain score = 100000*(self.time-self.startTime)/30
~~ OR Exponential ~~
Timer for 30s
constrain score = 100000*((self.time-self.startTime)/30)^2
Pick linear or exponential, not both