I know how looks lerp function
but i dont know how use lerp with numbers/counters
how do i add score using lerp?
Develop games in your browser. Powerful, performant & highly capable.
For example you want to add bonus score to player depending on how accurate the shot was.
You can do something like this:
Add Lerp(minBonus, maxBonus, accuracy) to TotalScore[/code:36k1oml1] accuracy should be from 0 to 1
For example you want to add bonus score to player depending on how accurate the shot was. You can do something like this: Add Lerp(minBonus, maxBonus, accuracy) to TotalScore[/code:oou65wqp] accuracy should be from 0 to 1
Add Lerp(minBonus, maxBonus, accuracy) to TotalScore[/code:oou65wqp] accuracy should be from 0 to 1
i dont get it, con you show this in capx example? or printscreen of code ?
I'm now not sure what did you mean by "add score using lerp"?
Do you want to animate the score?
See this capx:
https://www.dropbox.com/s/mlxdp26q0vwtd ... .capx?dl=0