Score According to Height?
LACvirtual
Member Posts: 3
Is this possible?
I am making a game kind of like Avalanche and I would like the score to be how high My actor is.
Is there a way for the score to go up 1 for every pixel reached? and then Back down if he falls? I would almost be tracking his Y position,
I am making a game kind of like Avalanche and I would like the score to be how high My actor is.
Is there a way for the score to go up 1 for every pixel reached? and then Back down if he falls? I would almost be tracking his Y position,
Comments
Then on your character actor add a constrain behaviour and add:
constrain attribute game.score to self.postionY