Connecting Score to Actor's movements
Hey! ![:D :D](http://forums.gamesalad.com/plugins/emojiextender/emoji/twitter/grin.png)
How can I have an actor's movement increase a score.
The more it moves the higher goes the score.
while I'm here too; how would i get an actor to increase and decrease in size from specific sizes and have that loop?
Thanks!
![:D :D](http://forums.gamesalad.com/plugins/emojiextender/emoji/twitter/grin.png)
How can I have an actor's movement increase a score.
The more it moves the higher goes the score.
while I'm here too; how would i get an actor to increase and decrease in size from specific sizes and have that loop?
Thanks!
Best Answer
-
Hapiapps Posts: 373
For #1 make it so as the x position increases (if going left and right) - add the amount difference from beginning to end to an attribute so if he is at 50 and goes to 100 - then make the score 50.
For #2 use the interpolate behavior with a timer like every 1 second, interpolate size>X>.5 then to 1, then make it do it again for both x and y. Hope that helps.