Orbz..exponential problem again!
SaveDave
Member Posts: 140
Hi orbz.. You helped me a couple of days ago with this but unfortunately I am still having trouble,,
Here's what I have set up...
I have an invisible "trigger" which starts a score increasing by 1000 pts every 0.01 sec..
What do I need to do to make this increase exponential.?
I'd rather the score increase run for 30 seconds and get more and more and the time goes on..
I have tried what you msg before, but I am doing something from...
What attributes do I need to change in order to get this?
You help would be very much appreciate in my time of need! ;-)
Here's what I have set up...
I have an invisible "trigger" which starts a score increasing by 1000 pts every 0.01 sec..
What do I need to do to make this increase exponential.?
I'd rather the score increase run for 30 seconds and get more and more and the time goes on..
I have tried what you msg before, but I am doing something from...
What attributes do I need to change in order to get this?
You help would be very much appreciate in my time of need! ;-)
Comments
so if the score is 1000
then it's 1000 times 1000 or another way to say that is 1000^2 or if we use the variable name then it's score^2
so it's every 0.01
change attribute game.score = game.score^2
You're score will be in the billions range really quick, causing a buffer overflow when you go past about 2billion.
Are you sure that exponential is the way you want to do this?
I feel that i've sufficiently answered this question in this and the posts prior. If you still are unable to get it to work perhaps you need to go back and re-read what I wrote. You need to understand the math yourself. I'm not here to do your project for you, but rather to point you in the right direction to the best of my ability. There is a great resource on youtube called Khan Academy. I suggest you look into it.