How would I interpolate/change a score DOWN when I have it geared to interpolate UP.
Hello everybody,
Here is my problem/background in detail... I have stars that are coming down the screen. They have a rule that says when touch is pressed (and some other stuff), it will change game.tempscore to game.tempscore + 100.
In my controlling actor, I have a rule that says: when attribute game.tempscore is > game.score, interpolate game.score to game.tempscore. This way I have a nice interpolated score.
However, I also have things coming down the screen, and when you touch them, I want it to change or interpolate (it doesn't matter) the score DOWN. If I change subtract from game.score, then game.tempscore will be bigger, and it will interpolate to the same # it was at before.
Any help is greatly appreciated,
Jack McGraw
Here is my problem/background in detail... I have stars that are coming down the screen. They have a rule that says when touch is pressed (and some other stuff), it will change game.tempscore to game.tempscore + 100.
In my controlling actor, I have a rule that says: when attribute game.tempscore is > game.score, interpolate game.score to game.tempscore. This way I have a nice interpolated score.
However, I also have things coming down the screen, and when you touch them, I want it to change or interpolate (it doesn't matter) the score DOWN. If I change subtract from game.score, then game.tempscore will be bigger, and it will interpolate to the same # it was at before.
Any help is greatly appreciated,
Jack McGraw
Comments
You will have to try another method. (from my knowledge)
I would suggest using a timer.
When the game score is supposed to increase by say 100 points. Timer > for 1 seconds add 1 point every 0.001 seconds.
Play with that, it works great for my TOTB4 entrant.
Hope that helps
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Support Fabled Apps!
Please LIKE Fabled Apps on Facebook.
Please Subscribe to Fabled Apps on YouTube.
@ozboybrian Thanks for the quick reply!
Jack McGraw