I don't understand this! Regarding interpolate
I tried to interpolate my score. But the number kinda screwed up?
I have an actor, when touch is pressed, interpolate game.Score to game.Score+100.
My starting score is 0, but then it doesnt interpolate to 100.. don't know why
I have an actor, when touch is pressed, interpolate game.Score to game.Score+100.
My starting score is 0, but then it doesnt interpolate to 100.. don't know why
Answers
I set up an attribute called game.score, and then have a rule in the actor that says when actor > touch is pressed > change attribute > game.score to game.score + 100.
Try constraining a private attribute to that actor of "Score+100". Now interpolate to that new attribute.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
@simo103 Thanks, i will have a look at it later.
@lukey5227 Interpolate to 100 works. But my score doesn't just stops at 100, it will keep increasing.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Get two attributes. Old score and new score.
When the user gets a higher score, change old score to new score. Then add to new score the amount the user got.
Make sure you are displaying the old score.
Interpolate Old score to new score. Repeat.