High Score Display Issue
Hey Guys,
So I drew up a nice image that says "High Score :" and I want to show the high score integer value after the semi colon. So I made another actor that just displays the high score text, but the thing is my high score : actor is moving around the screen...so this is what I did:
Two global real attributes, highscoresx and highscoresy
High Score : behavior are change attributes highscoresx and highscores y to self.pos.x/y
Then on the actor displaying the text I have:
Constrain att self.pos x/y to highscoresx/y.
Yet it doesnt move it at all? I also forget is there a way in the actual display text behavior to make it move more to the right of the actor, because that would solve my problem entirely.
Thanks
So I drew up a nice image that says "High Score :" and I want to show the high score integer value after the semi colon. So I made another actor that just displays the high score text, but the thing is my high score : actor is moving around the screen...so this is what I did:
Two global real attributes, highscoresx and highscoresy
High Score : behavior are change attributes highscoresx and highscores y to self.pos.x/y
Then on the actor displaying the text I have:
Constrain att self.pos x/y to highscoresx/y.
Yet it doesnt move it at all? I also forget is there a way in the actual display text behavior to make it move more to the right of the actor, because that would solve my problem entirely.
Thanks